diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-23 02:34:32 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-23 02:34:32 +0200 |
commit | c043ac4f139be7cbf5b7edbf050aa84e1896f75d (patch) | |
tree | 7e35116a9ecd80112d336ad5fa6b5d7deb1c9bd3 /src | |
parent | Address Feedback. (diff) | |
download | yuzu-c043ac4f139be7cbf5b7edbf050aa84e1896f75d.tar yuzu-c043ac4f139be7cbf5b7edbf050aa84e1896f75d.tar.gz yuzu-c043ac4f139be7cbf5b7edbf050aa84e1896f75d.tar.bz2 yuzu-c043ac4f139be7cbf5b7edbf050aa84e1896f75d.tar.lz yuzu-c043ac4f139be7cbf5b7edbf050aa84e1896f75d.tar.xz yuzu-c043ac4f139be7cbf5b7edbf050aa84e1896f75d.tar.zst yuzu-c043ac4f139be7cbf5b7edbf050aa84e1896f75d.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_fence_manager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_fence_manager.cpp b/src/video_core/renderer_opengl/gl_fence_manager.cpp index 476c89940..99ddcb3f8 100644 --- a/src/video_core/renderer_opengl/gl_fence_manager.cpp +++ b/src/video_core/renderer_opengl/gl_fence_manager.cpp @@ -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, |