diff options
Diffstat (limited to 'src/jake2/render/opengl')
-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); |