diff options
author | Sven Gothel <[email protected]> | 2008-07-25 17:56:12 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-25 17:56:12 +0000 |
commit | 659b59dd072d8b22d0d516770fd6864796ab89db (patch) | |
tree | 2e622c09bdfd18e8b18dcb6f5879190900d94600 /make/gl-impl-CustomJavaCode-gles2.java | |
parent | db40249b86a14c2178be8a2f61dc97f4ac1f1424 (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-x | make/gl-impl-CustomJavaCode-gles2.java | 5 |
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"); |