GLTracer: add more no-enum methods

This commit is contained in:
shadowislord 2015-03-27 21:49:33 -04:00
parent a3467def1e
commit 26f702cc91

View File

@ -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);