mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 08:37:52 +00:00
GL_Fence_Manager: use GL_TIMEOUT_IGNORED instead of a loop,
This commit is contained in:
parent
02e55a28eb
commit
e211e30093
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@ void GLInnerFence::Wait() {
|
|||
return;
|
||||
}
|
||||
ASSERT(sync_object.handle != 0);
|
||||
while (glClientWaitSync(sync_object.handle, 0, 1000) == GL_TIMEOUT_EXPIRED)
|
||||
;
|
||||
glClientWaitSync(sync_object.handle, 0, GL_TIMEOUT_IGNORED);
|
||||
}
|
||||
|
||||
FenceManagerOpenGL::FenceManagerOpenGL(Core::System& system,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue