From 680926a6d5780dce2d604902cf76dfcb7ef9d807 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 20 Jan 2006 20:22:10 +0000 Subject: 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 --- src/classes/javax/media/opengl/GLCapabilities.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/classes/javax') 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 : "") + " ]"); } } -- cgit v1.2.3