summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-16 04:59:29 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 17:36:23 +0200
commitec2f3e48e196508bb2e777511a6d2138e325e722 (patch)
treee2e44694f2aa7836b4cd6ed1dc77e49f6e463550 /src/video_core
parentCorrect Linux Compile Error. (diff)
downloadyuzu-ec2f3e48e196508bb2e777511a6d2138e325e722.tar
yuzu-ec2f3e48e196508bb2e777511a6d2138e325e722.tar.gz
yuzu-ec2f3e48e196508bb2e777511a6d2138e325e722.tar.bz2
yuzu-ec2f3e48e196508bb2e777511a6d2138e325e722.tar.lz
yuzu-ec2f3e48e196508bb2e777511a6d2138e325e722.tar.xz
yuzu-ec2f3e48e196508bb2e777511a6d2138e325e722.tar.zst
yuzu-ec2f3e48e196508bb2e777511a6d2138e325e722.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp9
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h2
2 files changed, 5 insertions, 6 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 6d3b5f3f4..847d67159 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -99,11 +99,10 @@ RasterizerOpenGL::RasterizerOpenGL(Core::System& system, Core::Frontend::EmuWind
ScreenInfo& info, GLShader::ProgramManager& program_manager,
StateTracker& state_tracker)
: RasterizerAccelerated{system.Memory()}, texture_cache{system, *this, device, state_tracker},
- shader_cache{*this, system, emu_window, device}, query_cache{system, *this}, system{system},
- screen_info{info}, program_manager{program_manager}, state_tracker{state_tracker},
- buffer_cache{*this, system, device, STREAM_BUFFER_SIZE}, fence_manager{
- system, *this, texture_cache,
- buffer_cache, query_cache} {
+ shader_cache{*this, system, emu_window, device}, query_cache{system, *this},
+ buffer_cache{*this, system, device, STREAM_BUFFER_SIZE},
+ fence_manager{system, *this, texture_cache, buffer_cache, query_cache}, system{system},
+ screen_info{info}, program_manager{program_manager}, state_tracker{state_tracker} {
CheckExtensions();
}
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index 15e9ff7d7..ebd2173eb 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -229,6 +229,7 @@ private:
SamplerCacheOpenGL sampler_cache;
FramebufferCacheOpenGL framebuffer_cache;
QueryCache query_cache;
+ OGLBufferCache buffer_cache;
FenceManagerOpenGL fence_manager;
Core::System& system;
@@ -237,7 +238,6 @@ private:
StateTracker& state_tracker;
static constexpr std::size_t STREAM_BUFFER_SIZE = 128 * 1024 * 1024;
- OGLBufferCache buffer_cache;
GLint vertex_binding = 0;