diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-08 12:08:00 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-08 12:16:38 +0100 |
commit | 9046f764bfb0097b827c585514f284124a61effd (patch) | |
tree | 4c287a55151114f70b2104e4df1e90af1d52073f /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_resource_manager: Amend clang-format discrepancies (diff) | |
download | yuzu-9046f764bfb0097b827c585514f284124a61effd.tar yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.gz yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.bz2 yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.lz yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.xz yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.zst yuzu-9046f764bfb0097b827c585514f284124a61effd.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index bb263b6aa..f266015b7 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -79,7 +79,8 @@ struct DrawParameters { }; RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, ScreenInfo& info) - : emu_window{window}, screen_info{info}, buffer_cache(STREAM_BUFFER_SIZE) { + : res_cache{*this}, shader_cache{*this}, emu_window{window}, screen_info{info}, + buffer_cache(*this, STREAM_BUFFER_SIZE) { // Create sampler objects for (std::size_t i = 0; i < texture_samplers.size(); ++i) { texture_samplers[i].Create(); |