diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-03 19:56:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-04 08:36:58 +0200 |
commit | 2665457f4ab3562525543f8e474bfb93ce3416ad (patch) | |
tree | 16166950cebde8f7ac99d51a3bcdcfa2869cf627 /src/video_core/renderer_opengl | |
parent | video_core: Eliminate the g_renderer global variable (diff) | |
download | yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.gz yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.bz2 yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.lz yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.xz yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.tar.zst yuzu-2665457f4ab3562525543f8e474bfb93ce3416ad.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 50846975f..bf9131193 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -160,8 +160,8 @@ void RendererOpenGL::LoadFBToScreenInfo(const Tegra::FramebufferConfig& framebuf // only allows rows to have a memory alignement of 4. ASSERT(framebuffer.stride % 4 == 0); - if (!Rasterizer()->AccelerateDisplay(framebuffer, framebuffer_addr, framebuffer.stride, - screen_info)) { + if (!rasterizer->AccelerateDisplay(framebuffer, framebuffer_addr, framebuffer.stride, + screen_info)) { // Reset the screen info's display texture to its own permanent texture screen_info.display_texture = screen_info.texture.resource.handle; |