Fixed MapBufferRange signature.

This commit is contained in:
Ioannis Tsakpinis 2009-12-28 15:00:06 +00:00
parent 6e5355bc83
commit f970b8ba42
3 changed files with 5 additions and 4 deletions

View File

@ -47,8 +47,8 @@ public interface ARB_map_buffer_range {
@CachedResult
@GLvoid
ByteBuffer
glMapBufferRange(@GLenum int target, @GLintptr long offset, @GLsizeiptr long length, @GLbitfield int access);
@AutoResultSize("length")
ByteBuffer glMapBufferRange(@GLenum int target, @GLintptr long offset, @GLsizeiptr long length, @GLbitfield int access);
void glFlushMappedBufferRange(@GLenum int target, @GLintptr long offset, @GLsizeiptr long length);

View File

@ -1286,6 +1286,7 @@ public interface EXT_direct_state_access {
@Dependent("OpenGL30")
@CachedResult
@GLvoid
@AutoResultSize("length")
ByteBuffer glMapNamedBufferRangeEXT(@GLuint int buffer, @GLintptr long offset, @GLsizeiptr long length, @GLbitfield int access);
@Dependent("OpenGL30")

View File

@ -242,8 +242,8 @@ public interface GL30 {
@CachedResult
@GLvoid
ByteBuffer
glMapBufferRange(@GLenum int target, @GLintptr long offset, @GLsizeiptr long length, @GLbitfield int access);
@AutoResultSize("length")
ByteBuffer glMapBufferRange(@GLenum int target, @GLintptr long offset, @GLsizeiptr long length, @GLbitfield int access);
void glFlushMappedBufferRange(@GLenum int target, @GLintptr long offset, @GLsizeiptr long length);