diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-26 17:37:23 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-28 04:17:50 +0100 |
commit | e85066dac79176092fcdade32f1378740dec39a8 (patch) | |
tree | 3d7edc5de3cdd312845ad9c9986f702e35f84884 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_state: Fixup multibind bug (diff) | |
download | yuzu-e85066dac79176092fcdade32f1378740dec39a8.tar yuzu-e85066dac79176092fcdade32f1378740dec39a8.tar.gz yuzu-e85066dac79176092fcdade32f1378740dec39a8.tar.bz2 yuzu-e85066dac79176092fcdade32f1378740dec39a8.tar.lz yuzu-e85066dac79176092fcdade32f1378740dec39a8.tar.xz yuzu-e85066dac79176092fcdade32f1378740dec39a8.tar.zst yuzu-e85066dac79176092fcdade32f1378740dec39a8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index c8c1d6911..321d9dd3d 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -739,22 +739,10 @@ void RasterizerOpenGL::DrawArrays() { state.Apply(); res_cache.SignalPreDrawCall(); - - // Execute draw call params.DispatchDraw(); - res_cache.SignalPostDrawCall(); - // Disable scissor test - state.viewports[0].scissor.enabled = false; - accelerate_draw = AccelDraw::Disabled; - - // Unbind textures for potential future use as framebuffer attachments - for (auto& texture_unit : state.texture_units) { - texture_unit.Unbind(); - } - state.Apply(); } void RasterizerOpenGL::FlushAll() {} |