diff options
author | Subv <subv2112@gmail.com> | 2018-09-21 05:31:53 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-09-21 05:31:53 +0200 |
commit | 9cd5c61fcf34423b8fb34589c7685319123b004c (patch) | |
tree | 5f11aadcb8383465f2fcb194fa2a6dc681737e08 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #1370 from Hedges/GDBClean (diff) | |
download | yuzu-9cd5c61fcf34423b8fb34589c7685319123b004c.tar yuzu-9cd5c61fcf34423b8fb34589c7685319123b004c.tar.gz yuzu-9cd5c61fcf34423b8fb34589c7685319123b004c.tar.bz2 yuzu-9cd5c61fcf34423b8fb34589c7685319123b004c.tar.lz yuzu-9cd5c61fcf34423b8fb34589c7685319123b004c.tar.xz yuzu-9cd5c61fcf34423b8fb34589c7685319123b004c.tar.zst yuzu-9cd5c61fcf34423b8fb34589c7685319123b004c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index e37acbfac..70fb54507 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -383,7 +383,7 @@ void RasterizerOpenGL::Clear() { bool use_stencil{}; OpenGLState clear_state; - clear_state.draw.draw_framebuffer = state.draw.draw_framebuffer; + clear_state.draw.draw_framebuffer = framebuffer.handle; clear_state.color_mask.red_enabled = regs.clear_buffers.R ? GL_TRUE : GL_FALSE; clear_state.color_mask.green_enabled = regs.clear_buffers.G ? GL_TRUE : GL_FALSE; clear_state.color_mask.blue_enabled = regs.clear_buffers.B ? GL_TRUE : GL_FALSE; |