diff options
author | Lioncash <mathew1800@gmail.com> | 2015-05-23 01:48:06 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-05-23 01:49:12 +0200 |
commit | 23d5df9d9c77e405f03ea1c1616e27764c290728 (patch) | |
tree | 1f651364ebccde78ed33f72bcb1fa8bbb33b452b /src | |
parent | Merge pull request #802 from bunnei/vfp-trace-log (diff) | |
download | yuzu-23d5df9d9c77e405f03ea1c1616e27764c290728.tar yuzu-23d5df9d9c77e405f03ea1c1616e27764c290728.tar.gz yuzu-23d5df9d9c77e405f03ea1c1616e27764c290728.tar.bz2 yuzu-23d5df9d9c77e405f03ea1c1616e27764c290728.tar.lz yuzu-23d5df9d9c77e405f03ea1c1616e27764c290728.tar.xz yuzu-23d5df9d9c77e405f03ea1c1616e27764c290728.tar.zst yuzu-23d5df9d9c77e405f03ea1c1616e27764c290728.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index ca8a371e7..938edf1c2 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -120,7 +120,7 @@ const void OpenGLState::Apply() { // Textures for (unsigned texture_index = 0; texture_index < ARRAY_SIZE(texture_units); ++texture_index) { - if (texture_units[texture_index].enabled_2d != texture_units[texture_index].enabled_2d) { + if (texture_units[texture_index].enabled_2d != cur_state.texture_units[texture_index].enabled_2d) { glActiveTexture(GL_TEXTURE0 + texture_index); if (texture_units[texture_index].enabled_2d) { |