diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-26 22:58:35 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-06-26 23:15:58 +0200 |
commit | 8447d20a117676360b0e7b08fc736e1d639e62fc (patch) | |
tree | b870a9a9aaef8a2e33ccd7e660728f65fe1488a2 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #590 from bunnei/rm-ssbo-check (diff) | |
download | yuzu-8447d20a117676360b0e7b08fc736e1d639e62fc.tar yuzu-8447d20a117676360b0e7b08fc736e1d639e62fc.tar.gz yuzu-8447d20a117676360b0e7b08fc736e1d639e62fc.tar.bz2 yuzu-8447d20a117676360b0e7b08fc736e1d639e62fc.tar.lz yuzu-8447d20a117676360b0e7b08fc736e1d639e62fc.tar.xz yuzu-8447d20a117676360b0e7b08fc736e1d639e62fc.tar.zst yuzu-8447d20a117676360b0e7b08fc736e1d639e62fc.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-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 0f6dec60b..aadf7e233 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -437,7 +437,7 @@ void RasterizerOpenGL::DrawArrays() { // Unbind textures for potential future use as framebuffer attachments for (auto& texture_unit : state.texture_units) { - texture_unit.texture_2d = 0; + texture_unit.Unbind(); } state.Apply(); |