(GLSM) GLuint64 might not be available depending on which GLES

version we are targeting
This commit is contained in:
twinaphex 2016-06-16 16:34:31 +02:00
parent 4282fd0c21
commit 72355683a3
2 changed files with 3 additions and 3 deletions

View File

@ -1822,10 +1822,10 @@ void *rglFenceSync(GLenum condition, GLbitfield flags)
* OpenGL : 3.2
* OpenGLES : 3.0
*/
void rglWaitSync(void *sync, GLbitfield flags, GLuint64 timeout)
void rglWaitSync(void *sync, GLbitfield flags, uint64_t timeout)
{
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES3)
glWaitSync((GLsync)sync, flags, timeout);
glWaitSync((GLsync)sync, flags, (GLuint64)timeout);
#endif
}

View File

@ -394,7 +394,7 @@ void rglTexSubImage2D( GLenum target,
const GLvoid * pixels);
void rglDeleteVertexArrays(GLsizei n, const GLuint *arrays);
void *rglFenceSync(GLenum condition, GLbitfield flags);
void rglWaitSync(void *data, GLbitfield flags, GLuint64 timeout);
void rglWaitSync(void *sync, GLbitfield flags, uint64_t timeout);
RETRO_END_DECLS