summaryrefslogtreecommitdiffstats
path: root/src/classes/javax
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-01-20 20:22:10 +0000
committerKenneth Russel <[email protected]>2006-01-20 20:22:10 +0000
commit680926a6d5780dce2d604902cf76dfcb7ef9d807 (patch)
tree920e881ceceb85a4fb566b378d2648bac93148cc /src/classes/javax
parent6a697463c73042b7cfd1af2a5729e79bc43a0406 (diff)
Fixed Issue 193: antialiasing querying using GLCapabilitiesChooser no
longer works in JSR 231 beta 02 This was a bug inadvertently introduced during refactoring of the multisample support during the development of JSR-231 beta 2 to support multisampled pbuffers. Additionally another bug was introduced during yesterday's bug fix for exceptions thrown while producing the GLCapabilities[] array for the GLCapabilitiesChooser. Both issues have been fixed in this checkin. The printing code in GLCapabilities has also been extended to print the multisampling-related properties. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@553 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax')
-rw-r--r--src/classes/javax/media/opengl/GLCapabilities.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/classes/javax/media/opengl/GLCapabilities.java b/src/classes/javax/media/opengl/GLCapabilities.java
index 77ada1b1a..c11cd7d05 100644
--- a/src/classes/javax/media/opengl/GLCapabilities.java
+++ b/src/classes/javax/media/opengl/GLCapabilities.java
@@ -337,6 +337,8 @@ public class GLCapabilities implements Cloneable {
", Green Accum: " + accumGreenBits +
", Blue Accum: " + accumBlueBits +
", Alpha Accum: " + accumAlphaBits +
+ ", Multisample: " + sampleBuffers +
+ (sampleBuffers ? ", Num samples: " + numSamples : "") +
" ]");
}
}