diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-15 22:36:14 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:18 +0200 |
commit | 0649f0590047e8cc0b16a10dec5eb74938fef718 (patch) | |
tree | b56cf7fb42c31f0012b063d356dc2b1eb1126a42 /src/video_core/renderer_opengl/gl_fence_manager.cpp | |
parent | OpenGL: Guarantee writes to Buffers. (diff) | |
download | yuzu-0649f0590047e8cc0b16a10dec5eb74938fef718.tar yuzu-0649f0590047e8cc0b16a10dec5eb74938fef718.tar.gz yuzu-0649f0590047e8cc0b16a10dec5eb74938fef718.tar.bz2 yuzu-0649f0590047e8cc0b16a10dec5eb74938fef718.tar.lz yuzu-0649f0590047e8cc0b16a10dec5eb74938fef718.tar.xz yuzu-0649f0590047e8cc0b16a10dec5eb74938fef718.tar.zst yuzu-0649f0590047e8cc0b16a10dec5eb74938fef718.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_fence_manager.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_fence_manager.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_fence_manager.cpp b/src/video_core/renderer_opengl/gl_fence_manager.cpp index 579c03a1e..aa57a0ae0 100644 --- a/src/video_core/renderer_opengl/gl_fence_manager.cpp +++ b/src/video_core/renderer_opengl/gl_fence_manager.cpp @@ -44,9 +44,11 @@ void GLInnerFence::Wait() { ; } -FenceManagerOpenGL::FenceManagerOpenGL(Core::System& system, VideoCore::RasterizerInterface& rasterizer, - TextureCacheOpenGL& texture_cache, OGLBufferCache& buffer_cache) - : GenericFenceManager(system, rasterizer, texture_cache, buffer_cache) {} +FenceManagerOpenGL::FenceManagerOpenGL(Core::System& system, + VideoCore::RasterizerInterface& rasterizer, + TextureCacheOpenGL& texture_cache, + OGLBufferCache& buffer_cache, QueryCache& query_cache) + : GenericFenceManager(system, rasterizer, texture_cache, buffer_cache, query_cache) {} Fence FenceManagerOpenGL::CreateFence(u32 value, bool is_stubbed) { return std::make_shared<GLInnerFence>(value, is_stubbed); |