aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
authorKenneth Russel <kbrussel@alum.mit.edu>2005-08-31 21:45:41 +0000
committerKenneth Russel <kbrussel@alum.mit.edu>2005-08-31 21:45:41 +0000
commit6f9ab522421b3b8d6e0d8f99954d512436a03ee3 (patch)
tree102cf02317863bcdd89df38c9aa9b8ef5115e1c2 /src/classes
parent4708a5166eb77248aaefa8b92d50d8ca29a1c6b9 (diff)
Fixed problem with offscreen (pixmap) contexts on Solaris/SPARC
(hopefully this will not break things on X11 x86 platforms) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@361 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/com/sun/opengl/impl/x11/X11OffscreenGLContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/X11OffscreenGLContext.java b/src/classes/com/sun/opengl/impl/x11/X11OffscreenGLContext.java
index 903b373a4..e1c8eb3d1 100644
--- a/src/classes/com/sun/opengl/impl/x11/X11OffscreenGLContext.java
+++ b/src/classes/com/sun/opengl/impl/x11/X11OffscreenGLContext.java
@@ -52,7 +52,7 @@ public class X11OffscreenGLContext extends X11GLContext {
}
public int getOffscreenContextPixelDataType() {
- return GL.GL_UNSIGNED_BYTE;
+ return GL.GL_UNSIGNED_INT_8_8_8_8_REV;
}
public int getOffscreenContextReadBuffer() {