Require at least 1 element remaining in BO data params.
This commit is contained in:
parent
6e6f5a4ff0
commit
7259a8ac0a
|
@ -83,6 +83,7 @@ public interface ARB_buffer_object {
|
|||
|
||||
@GenerateAutos
|
||||
void glBufferDataARB(@GLenum int target, @AutoSize("data") @GLsizeiptrARB long size,
|
||||
@Check("1")
|
||||
@Const
|
||||
@GLbyte
|
||||
@GLshort
|
||||
|
@ -91,7 +92,7 @@ public interface ARB_buffer_object {
|
|||
@GLdouble Buffer data, @GLenum int usage);
|
||||
|
||||
void glBufferSubDataARB(@GLenum int target, @GLintptrARB long offset, @AutoSize("data") @GLsizeiptrARB long size,
|
||||
@Check
|
||||
@Check("1")
|
||||
@Const
|
||||
@GLbyte
|
||||
@GLshort
|
||||
|
@ -101,7 +102,7 @@ public interface ARB_buffer_object {
|
|||
|
||||
void glGetBufferSubDataARB(@GLenum int target, @GLintptrARB long offset, @AutoSize("data") @GLsizeiptrARB long size,
|
||||
@OutParameter
|
||||
@Check
|
||||
@Check("1")
|
||||
@GLbyte
|
||||
@GLshort
|
||||
@GLint
|
||||
|
|
|
@ -862,6 +862,7 @@ public interface EXT_direct_state_access {
|
|||
@Dependent("OpenGL15")
|
||||
@GenerateAutos
|
||||
void glNamedBufferDataEXT(@GLuint int buffer, @AutoSize("data") @GLsizeiptr long size,
|
||||
@Check("1")
|
||||
@Const
|
||||
@GLbyte
|
||||
@GLshort
|
||||
|
@ -871,7 +872,7 @@ public interface EXT_direct_state_access {
|
|||
|
||||
@Dependent("OpenGL15")
|
||||
void glNamedBufferSubDataEXT(@GLuint int buffer, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size,
|
||||
@Check
|
||||
@Check("1")
|
||||
@Const
|
||||
@GLbyte
|
||||
@GLshort
|
||||
|
@ -929,7 +930,7 @@ public interface EXT_direct_state_access {
|
|||
@Dependent("OpenGL15")
|
||||
void glGetNamedBufferSubDataEXT(@GLuint int buffer, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size,
|
||||
@OutParameter
|
||||
@Check
|
||||
@Check("1")
|
||||
@GLbyte
|
||||
@GLshort
|
||||
@GLint
|
||||
|
|
|
@ -109,6 +109,7 @@ public interface GL15 {
|
|||
|
||||
@GenerateAutos
|
||||
void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr long size,
|
||||
@Check("1")
|
||||
@Const
|
||||
@GLbyte
|
||||
@GLshort
|
||||
|
@ -117,7 +118,7 @@ public interface GL15 {
|
|||
@GLdouble Buffer data, @GLenum int usage);
|
||||
|
||||
void glBufferSubData(@GLenum int target, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size,
|
||||
@Check
|
||||
@Check("1")
|
||||
@Const
|
||||
@GLbyte
|
||||
@GLshort
|
||||
|
@ -127,7 +128,7 @@ public interface GL15 {
|
|||
|
||||
void glGetBufferSubData(@GLenum int target, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size,
|
||||
@OutParameter
|
||||
@Check
|
||||
@Check("1")
|
||||
@GLbyte
|
||||
@GLshort
|
||||
@GLint
|
||||
|
|
|
@ -480,10 +480,10 @@ public interface GLES20 {
|
|||
|
||||
@GenerateAutos
|
||||
void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr long size,
|
||||
@Const @GLbyte @GLshort @GLint @GLfloat Buffer data, @GLenum int usage);
|
||||
@Check("1") @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);
|
||||
@Check("1") @Const @GLbyte @GLshort @GLint @GLfloat Buffer data);
|
||||
|
||||
@GLenum
|
||||
int glCheckFramebufferStatus(@GLenum int target);
|
||||
|
|
Loading…
Reference in New Issue