fix: glBufferData & glFenceSync

This commit is contained in:
Swung0x48 2025-01-28 23:28:29 +08:00
parent 80c64d91f0
commit 69a001a5c3

View File

@ -898,7 +898,7 @@ NATIVE_FUNCTION_HEAD(void,glGetQueryObjectuiv,GLuint id, GLenum pname, GLuint* p
NATIVE_FUNCTION_HEAD(void,glDeleteBuffers,GLsizei n, const GLuint* buffers); NATIVE_FUNCTION_END_NO_RETURN(void,glDeleteBuffers,n,buffers)
NATIVE_FUNCTION_HEAD(void,glGenBuffers,GLsizei n, GLuint* buffers); NATIVE_FUNCTION_END_NO_RETURN(void,glGenBuffers,n,buffers)
NATIVE_FUNCTION_HEAD(GLboolean,glIsBuffer,GLuint buffer); NATIVE_FUNCTION_END_NO_RETURN(GLboolean,glIsBuffer,buffer)
//NATIVE_FUNCTION_HEAD(void,glBufferData,GLenum target, GLsizeiptr size, const void* data, GLenum usage); NATIVE_FUNCTION_END_NO_RETURN(void,glBufferData,target,size,data,usage)
NATIVE_FUNCTION_HEAD(void,glBufferData,GLenum target, GLsizeiptr size, const void* data, GLenum usage); NATIVE_FUNCTION_END_NO_RETURN(void,glBufferData,target,size,data,usage)
NATIVE_FUNCTION_HEAD(void,glBufferSubData,GLenum target, GLintptr offset, GLsizeiptr size, const void* data); NATIVE_FUNCTION_END_NO_RETURN(void,glBufferSubData,target,offset,size,data)
NATIVE_FUNCTION_HEAD(void,glGetBufferSubData,GLenum target, GLintptr offset, GLsizeiptr size, void* data); NATIVE_FUNCTION_END_NO_RETURN(void,glGetBufferSubData,target,offset,size,data)
//NATIVE_FUNCTION_HEAD(GLboolean,glUnmapBuffer,GLenum target); NATIVE_FUNCTION_END_NO_RETURN(GLboolean,glUnmapBuffer,target)
@ -1001,7 +1001,7 @@ NATIVE_FUNCTION_HEAD(void,glDrawRangeElementsBaseVertex,GLenum mode, GLuint star
NATIVE_FUNCTION_HEAD(void,glDrawElementsInstancedBaseVertex,GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei instancecount, GLint basevertex); NATIVE_FUNCTION_END_NO_RETURN(void,glDrawElementsInstancedBaseVertex,mode,count,type,indices,instancecount,basevertex)
NATIVE_FUNCTION_HEAD(void,glMultiDrawElementsBaseVertex,GLenum mode, const GLsizei* count, GLenum type, const void* const*indices, GLsizei drawcount, const GLint* basevertex); NATIVE_FUNCTION_END_NO_RETURN(void,glMultiDrawElementsBaseVertex,mode,count,type,indices,drawcount,basevertex)
NATIVE_FUNCTION_HEAD(void,glProvokingVertex,GLenum mode); NATIVE_FUNCTION_END_NO_RETURN(void,glProvokingVertex,mode)
NATIVE_FUNCTION_HEAD(GLsync,glFenceSync,GLenum condition, GLbitfield flags); NATIVE_FUNCTION_END_NO_RETURN(GLsync,glFenceSync,condition,flags)
NATIVE_FUNCTION_HEAD(GLsync,glFenceSync,GLenum condition, GLbitfield flags); NATIVE_FUNCTION_END(GLsync,glFenceSync,condition,flags)
NATIVE_FUNCTION_HEAD(GLboolean,glIsSync,GLsync sync); NATIVE_FUNCTION_END_NO_RETURN(GLboolean,glIsSync,sync)
NATIVE_FUNCTION_HEAD(void,glDeleteSync,GLsync sync); NATIVE_FUNCTION_END_NO_RETURN(void,glDeleteSync,sync)
NATIVE_FUNCTION_HEAD(GLenum,glClientWaitSync,GLsync sync, GLbitfield flags, GLuint64 timeout); NATIVE_FUNCTION_END_NO_RETURN(GLenum,glClientWaitSync,sync,flags,timeout)