Fix ESSL version parsing (incorrect prefix)

experimental
shadowislord 10 years ago
parent de0027eee3
commit 4241ce9ead
  1. 2
      jme3-android/src/main/java/com/jme3/renderer/android/OGLESShaderRenderer.java

@ -220,7 +220,7 @@ public class OGLESShaderRenderer implements Renderer {
} }
// Check shader language version // Check shader language version
glslVer = extractVersion("OpenGL ES GLSL ES ", GLES20.glGetString(GLES20.GL_SHADING_LANGUAGE_VERSION)); glslVer = extractVersion("OpenGL ES GLSL ", GLES20.glGetString(GLES20.GL_SHADING_LANGUAGE_VERSION));
switch (glslVer) { switch (glslVer) {
// TODO: When new versions of OpenGL ES shader language come out, // TODO: When new versions of OpenGL ES shader language come out,
// update this. // update this.

Loading…
Cancel
Save