mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 09:41:15 +00:00
(GLSM) GLuint64 might not be available depending on which GLES
version we are targeting
This commit is contained in:
parent
4282fd0c21
commit
72355683a3
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user