diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-02-27 23:57:33 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-02-27 23:57:33 +0100 |
commit | 7f7df43da2cedb40c57bcbcbbe24d076d832666f (patch) | |
tree | 724caeb237105af3d29675f27565716f957f0e8f /src/video_core | |
parent | Merge pull request #7955 from bunnei/update-dynarmic (diff) | |
download | yuzu-7f7df43da2cedb40c57bcbcbbe24d076d832666f.tar yuzu-7f7df43da2cedb40c57bcbcbbe24d076d832666f.tar.gz yuzu-7f7df43da2cedb40c57bcbcbbe24d076d832666f.tar.bz2 yuzu-7f7df43da2cedb40c57bcbcbbe24d076d832666f.tar.lz yuzu-7f7df43da2cedb40c57bcbcbbe24d076d832666f.tar.xz yuzu-7f7df43da2cedb40c57bcbcbbe24d076d832666f.tar.zst yuzu-7f7df43da2cedb40c57bcbcbbe24d076d832666f.zip |
Diffstat (limited to 'src/video_core')
-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 151290101..293ad7d59 100644 --- a/src/video_core/renderer_opengl/gl_fence_manager.cpp +++ b/src/video_core/renderer_opengl/gl_fence_manager.cpp @@ -31,9 +31,8 @@ bool GLInnerFence::IsSignaled() const { return true; } ASSERT(sync_object.handle != 0); - GLsizei length; GLint sync_status; - glGetSynciv(sync_object.handle, GL_SYNC_STATUS, sizeof(GLint), &length, &sync_status); + glGetSynciv(sync_object.handle, GL_SYNC_STATUS, 1, nullptr, &sync_status); return sync_status == GL_SIGNALED; } |