aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode-gles2.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-07-25 17:56:12 +0000
committerSven Gothel <[email protected]>2008-07-25 17:56:12 +0000
commit659b59dd072d8b22d0d516770fd6864796ab89db (patch)
tree2e622c09bdfd18e8b18dcb6f5879190900d94600 /make/gl-impl-CustomJavaCode-gles2.java
parentdb40249b86a14c2178be8a2f61dc97f4ac1f1424 (diff)
ES2 FixedFunction w. texture (demo.es1.cubefbo.Main) working
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1736 232f8b59-042b-4e1e-8c03-345bb8c30851
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");