diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 20:28:42 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 02:23:40 +0100 |
commit | 7fefec585c805fa09951da11890bb90afb8a42a9 (patch) | |
tree | 739d06767d869ff1f0678aa20cb076a465521744 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_shader_disk_cache: Guard reads and writes against failure (diff) | |
download | yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.gz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.bz2 yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.lz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.xz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.zst yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 48e003fa1..94a5058de 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -100,8 +100,9 @@ struct FramebufferCacheKey { } }; -RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, ScreenInfo& info) - : res_cache{*this}, shader_cache{*this}, emu_window{window}, screen_info{info}, +RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, Core::System& system, + ScreenInfo& info) + : res_cache{*this}, shader_cache{*this, system}, emu_window{window}, screen_info{info}, buffer_cache(*this, STREAM_BUFFER_SIZE), global_cache{*this} { // Create sampler objects for (std::size_t i = 0; i < texture_samplers.size(); ++i) { |