summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_global_cache.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-27 17:35:31 +0100
committerLioncash <mathew1800@gmail.com>2019-03-27 17:37:53 +0100
commita5fa4b311e3d68038d5a52411c9466f32b8c84cb (patch)
tree15159963176b9e599f85000d76e05e8ebb0177cf /src/video_core/renderer_opengl/gl_global_cache.cpp
parentMerge pull request #2285 from lioncash/unused-struct (diff)
downloadyuzu-a5fa4b311e3d68038d5a52411c9466f32b8c84cb.tar
yuzu-a5fa4b311e3d68038d5a52411c9466f32b8c84cb.tar.gz
yuzu-a5fa4b311e3d68038d5a52411c9466f32b8c84cb.tar.bz2
yuzu-a5fa4b311e3d68038d5a52411c9466f32b8c84cb.tar.lz
yuzu-a5fa4b311e3d68038d5a52411c9466f32b8c84cb.tar.xz
yuzu-a5fa4b311e3d68038d5a52411c9466f32b8c84cb.tar.zst
yuzu-a5fa4b311e3d68038d5a52411c9466f32b8c84cb.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_global_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_global_cache.cpp b/src/video_core/renderer_opengl/gl_global_cache.cpp
index 0fbfbad55..da9326253 100644
--- a/src/video_core/renderer_opengl/gl_global_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_global_cache.cpp
@@ -15,7 +15,7 @@
namespace OpenGL {
CachedGlobalRegion::CachedGlobalRegion(VAddr cpu_addr, u32 size, u8* host_ptr)
- : cpu_addr{cpu_addr}, size{size}, RasterizerCacheObject{host_ptr} {
+ : RasterizerCacheObject{host_ptr}, cpu_addr{cpu_addr}, size{size} {
buffer.Create();
// Bind and unbind the buffer so it gets allocated by the driver
glBindBuffer(GL_SHADER_STORAGE_BUFFER, buffer.handle);