diff --git a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java index 745737de..7302fb6a 100644 --- a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java +++ b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java @@ -83,7 +83,7 @@ public interface ARB_buffer_object { @GenerateAutos void glBufferDataARB(@GLenum int target, @AutoSize("data") @GLsizeiptrARB long size, - @Check("1") + @Check @Const @GLbyte @GLshort diff --git a/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java b/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java index 27ed4cf4..b4769ea3 100644 --- a/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java +++ b/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java @@ -862,7 +862,7 @@ public interface EXT_direct_state_access { @Dependent("OpenGL15") @GenerateAutos void glNamedBufferDataEXT(@GLuint int buffer, @AutoSize("data") @GLsizeiptr long size, - @Check("1") + @Check @Const @GLbyte @GLshort diff --git a/src/templates/org/lwjgl/opengl/GL15.java b/src/templates/org/lwjgl/opengl/GL15.java index 565a284c..bb78c046 100644 --- a/src/templates/org/lwjgl/opengl/GL15.java +++ b/src/templates/org/lwjgl/opengl/GL15.java @@ -109,7 +109,7 @@ public interface GL15 { @GenerateAutos void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr long size, - @Check("1") + @Check @Const @GLbyte @GLshort diff --git a/src/templates/org/lwjgl/opengles/GLES20.java b/src/templates/org/lwjgl/opengles/GLES20.java index ed4e22ed..a62e4318 100644 --- a/src/templates/org/lwjgl/opengles/GLES20.java +++ b/src/templates/org/lwjgl/opengles/GLES20.java @@ -480,7 +480,7 @@ public interface GLES20 { @GenerateAutos void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr long size, - @Check("1") @Const @GLbyte @GLshort @GLint @GLfloat Buffer data, @GLenum int usage); + @Check @Const @GLbyte @GLshort @GLint @GLfloat Buffer data, @GLenum int usage); void glBufferSubData(@GLenum int target, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size, @Check @Const @GLbyte @GLshort @GLint @GLfloat Buffer data);