aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-08-12 12:32:32 +0000
committerSven Gothel <[email protected]>2008-08-12 12:32:32 +0000
commit65d46b634610cfb40f0ed25394bc0058b6ef420d (patch)
tree2b723fc9eb95748137a533c28e780cd5a547262a /src/classes/javax/media
parent9517539e3b43d21017465180376329439bc25f12 (diff)
GLWindow: Added perf logging; FBO: adjusted texture format; Fixed: ColorTexture fix for ES2
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1750 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media')
-rwxr-xr-xsrc/classes/javax/media/opengl/util/FBObject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/javax/media/opengl/util/FBObject.java b/src/classes/javax/media/opengl/util/FBObject.java
index 8e27f65c6..660c8c806 100755
--- a/src/classes/javax/media/opengl/util/FBObject.java
+++ b/src/classes/javax/media/opengl/util/FBObject.java
@@ -118,7 +118,7 @@ public class FBObject {
} else if(gl.isGLES()) {
textureInternalFormat=GL.GL_RGBA;
textureDataFormat=GL.GL_RGBA;
- textureDataType=GL.GL_UNSIGNED_SHORT_5_5_5_1;
+ textureDataType=GL.GL_UNSIGNED_BYTE;
} else {
textureInternalFormat=GL.GL_RGB;
textureDataFormat=GL.GL_RGB;