aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode-gles2.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/gl-impl-CustomJavaCode-gles2.java')
-rwxr-xr-xmake/gl-impl-CustomJavaCode-gles2.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/gl-impl-CustomJavaCode-gles2.java b/make/gl-impl-CustomJavaCode-gles2.java
index f2682ab74..e1e4b0e2e 100755
--- a/make/gl-impl-CustomJavaCode-gles2.java
+++ b/make/gl-impl-CustomJavaCode-gles2.java
@@ -543,6 +543,11 @@ private final void glDrawArraysEpilogue() {
fixedFunction.glUseProgram(this, false);
}
}
+private final void glActiveTextureEpilog(int texture) {
+ if(fixedFunctionShaderActive) {
+ fixedFunction.glActiveTexture(this, texture);
+ }
+}
public void glLightfv(int light, int pname, java.nio.FloatBuffer params) {
if(!fixedFunctionShaderActive) {
throw new GLUnsupportedException("not enabled");