diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-06 22:59:56 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-21 03:45:55 +0200 |
commit | c03b8c4c192b10fad93ded9060ff1313bab93d95 (patch) | |
tree | f4c25930a6e3938c58d5e395aaca591bf05971be /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #2455 from lioncash/config (diff) | |
download | yuzu-c03b8c4c192b10fad93ded9060ff1313bab93d95.tar yuzu-c03b8c4c192b10fad93ded9060ff1313bab93d95.tar.gz yuzu-c03b8c4c192b10fad93ded9060ff1313bab93d95.tar.bz2 yuzu-c03b8c4c192b10fad93ded9060ff1313bab93d95.tar.lz yuzu-c03b8c4c192b10fad93ded9060ff1313bab93d95.tar.xz yuzu-c03b8c4c192b10fad93ded9060ff1313bab93d95.tar.zst yuzu-c03b8c4c192b10fad93ded9060ff1313bab93d95.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index dbd8049f5..f9b6dfeea 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -98,9 +98,11 @@ struct FramebufferCacheKey { } }; -RasterizerOpenGL::RasterizerOpenGL(Core::System& system, ScreenInfo& info) - : res_cache{*this}, shader_cache{*this, system, device}, global_cache{*this}, system{system}, - screen_info{info}, buffer_cache(*this, STREAM_BUFFER_SIZE) { +RasterizerOpenGL::RasterizerOpenGL(Core::System& system, Core::Frontend::EmuWindow& emu_window, + ScreenInfo& info) + : res_cache{*this}, shader_cache{*this, system, emu_window, device}, + global_cache{*this}, system{system}, screen_info{info}, + buffer_cache(*this, STREAM_BUFFER_SIZE) { OpenGLState::ApplyDefaultState(); shader_program_manager = std::make_unique<GLShader::ProgramManager>(); |