Update glsm

This commit is contained in:
twinaphex 2016-09-16 03:10:44 +02:00
parent 8d36ada62c
commit 567fa7f7d0
2 changed files with 4 additions and 3 deletions

View File

@ -1878,9 +1878,10 @@ void rglFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length
* OpenGL : 3.2
* OpenGLES : 3.0
*/
GLenum rglClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) {
GLenum rglClientWaitSync(void *sync, GLbitfield flags, uint64_t timeout)
{
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES3)
return glClientWaitSync(sync, flags, timeout);
return glClientWaitSync((GLsync)sync, flags, (GLuint64)timeout);
#endif
}

View File

@ -403,7 +403,7 @@ void *rglFenceSync(GLenum condition, GLbitfield flags);
void rglWaitSync(void *sync, GLbitfield flags, uint64_t timeout);
void rglBufferStorage(GLenum target, GLsizeiptr size, const GLvoid *data, GLbitfield flags);
void rglFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
GLenum rglClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
GLenum rglClientWaitSync(void *sync, GLbitfield flags, uint64_t timeout);
void rglDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type,
GLvoid *indices, GLint basevertex);