aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-04-20 00:54:26 +0000
committerKenneth Russel <[email protected]>2004-04-20 00:54:26 +0000
commit2ee2b7b51e3e82553e7dc17fe1a04e8cec5be8bf (patch)
tree53998aa0ec7a8566d52dcabf89992d861213d675 /src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java
parentbebb33d0f10c4d75f2bc3c48c82f4f4f1278ee7c (diff)
Added full-scene antialiasing (FSAA) support
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@111 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java')
-rw-r--r--src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java b/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java
index 454628734..ccbba8b92 100644
--- a/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java
+++ b/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java
@@ -166,6 +166,10 @@ public class X11PbufferGLContext extends X11GLContext {
iattributes[niattribs++] = capabilities.getAccumBlueBits();
}
+ // FIXME: add FSAA support? Don't want to get into a situation
+ // where we have to retry the glXChooseFBConfig call if it fails
+ // due to a lack of an antialiased visual...
+
iattributes[niattribs++] = 0; // null-terminate
int screen = 0; // FIXME: provide way to specify this?