diff options
author | Sven Gothel <[email protected]> | 2012-10-16 15:39:23 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-16 15:39:23 +0200 |
commit | f453507d789394f3dc60c4fa97d87d91cfc4b1e1 (patch) | |
tree | 9070246ed7518273ee022f75f0ecb284a00d9c3a | |
parent | 69a13e7d8429c5f51df5d486b53ba7c7eeede120 (diff) |
GL2ES1: Add GL_EXT_point_parameters caps for ES1 GL driver
-rw-r--r-- | src/jake2/render/opengl/JoglGL2ES1.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jake2/render/opengl/JoglGL2ES1.java b/src/jake2/render/opengl/JoglGL2ES1.java index 94decb2..605c152 100644 --- a/src/jake2/render/opengl/JoglGL2ES1.java +++ b/src/jake2/render/opengl/JoglGL2ES1.java @@ -225,8 +225,10 @@ public class JoglGL2ES1 implements QGL { if( GL.GL_EXTENSIONS == name ) { StringBuilder sb = new StringBuilder(); sb.append(gl.glGetString(name)); - // sb.append(" GL_EXT_point_parameters"); - sb.append(" GL_ARB_multitexture"); + sb.append(" GL_ARB_multitexture"); + if( gl.isGLES1() ) { + sb.append(" GL_EXT_point_parameters"); + } return sb.toString(); } return gl.glGetString(name); |