summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-02-27 23:57:33 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-02-27 23:57:33 +0100
commit7f7df43da2cedb40c57bcbcbbe24d076d832666f (patch)
tree724caeb237105af3d29675f27565716f957f0e8f /src/video_core
parentMerge pull request #7955 from bunnei/update-dynarmic (diff)
downloadyuzu-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.cpp3
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;
}