GLTracer: add more no-enum methods

experimental
shadowislord 10 years ago
parent a3467def1e
commit 26f702cc91
  1. 4
      jme3-core/src/main/java/com/jme3/renderer/opengl/GLTracer.java

@ -70,6 +70,7 @@ public final class GLTracer implements InvocationHandler {
// noEnumArgs("glTexParameteri", 2);
noEnumArgs("glTexImage2D", 1, 3, 4, 5);
noEnumArgs("glTexImage3D", 1, 3, 4, 5, 6);
noEnumArgs("glTexSubImage2D", 1, 2, 3, 4, 5);
noEnumArgs("glTexSubImage3D", 1, 2, 3, 4, 5, 6, 7);
noEnumArgs("glCompressedTexImage2D", 1, 3, 4, 5);
noEnumArgs("glCompressedTexSubImage3D", 1, 2, 3, 4, 5, 6, 7);
@ -83,6 +84,8 @@ public final class GLTracer implements InvocationHandler {
noEnumArgs("glDrawRangeElements", 1, 2, 3, 5);
noEnumArgs("glDrawArrays", 1, 2);
noEnumArgs("glDeleteBuffers", 0);
noEnumArgs("glBindVertexArray", 0);
noEnumArgs("glGenVertexArrays", 0);
noEnumArgs("glBindFramebufferEXT", 1);
noEnumArgs("glBindRenderbufferEXT", 1);
@ -110,6 +113,7 @@ public final class GLTracer implements InvocationHandler {
noEnumArgs("glUniform1f", 0);
noEnumArgs("glUniform2f", 0);
noEnumArgs("glUniform3f", 0);
noEnumArgs("glUniform4", 0);
noEnumArgs("glUniform4f", 0);
noEnumArgs("glGetAttribLocation", 0, -1);
noEnumArgs("glDetachShader", 0, 1);

Loading…
Cancel
Save