From 4241ce9ead45cfdd331eb6ef3f852faef88a5211 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Thu, 20 Nov 2014 20:00:28 -0500 Subject: [PATCH] Fix ESSL version parsing (incorrect prefix) --- .../java/com/jme3/renderer/android/OGLESShaderRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-android/src/main/java/com/jme3/renderer/android/OGLESShaderRenderer.java b/jme3-android/src/main/java/com/jme3/renderer/android/OGLESShaderRenderer.java index ed9fcd1b7..f6bd6508c 100644 --- a/jme3-android/src/main/java/com/jme3/renderer/android/OGLESShaderRenderer.java +++ b/jme3-android/src/main/java/com/jme3/renderer/android/OGLESShaderRenderer.java @@ -220,7 +220,7 @@ public class OGLESShaderRenderer implements Renderer { } // 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) { // TODO: When new versions of OpenGL ES shader language come out, // update this.