mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
(GLSM) Update
This commit is contained in:
parent
5b15119f06
commit
b95a817471
@ -1908,6 +1908,10 @@ void rglFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef GL_WAIT_FAILED
|
||||||
|
#define GL_WAIT_FAILED 0x911D
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Core in:
|
* Core in:
|
||||||
@ -1918,6 +1922,8 @@ GLenum rglClientWaitSync(void *sync, GLbitfield flags, uint64_t timeout)
|
|||||||
{
|
{
|
||||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES3)
|
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES3)
|
||||||
return glClientWaitSync((GLsync)sync, flags, (GLuint64)timeout);
|
return glClientWaitSync((GLsync)sync, flags, (GLuint64)timeout);
|
||||||
|
#else
|
||||||
|
return GL_WAIT_FAILED;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user