summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-08 00:46:16 +0200
committerGitHub <noreply@github.com>2018-04-08 00:46:16 +0200
commit227bc78cbefef0866fc39db1383ea4f012583e11 (patch)
tree4b6979d7483cf98463afa394d2e11001e91aa195 /src/video_core/renderer_opengl/gl_state.cpp
parentMerge pull request #315 from jroweboy/spelling-fix (diff)
parentFix clang format issues (diff)
downloadyuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.gz
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.bz2
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.lz
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.xz
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.zst
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.cpp')
-rw-r--r--src/video_core/renderer_opengl/gl_state.cpp2
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 1d396728b..6da3a7781 100644
--- a/src/video_core/renderer_opengl/gl_state.cpp
+++ b/src/video_core/renderer_opengl/gl_state.cpp
@@ -194,7 +194,7 @@ void OpenGLState::Apply() const {
// Textures
for (unsigned i = 0; i < ARRAY_SIZE(texture_units); ++i) {
if (texture_units[i].texture_2d != cur_state.texture_units[i].texture_2d) {
- glActiveTexture(TextureUnits::PicaTexture(i).Enum());
+ glActiveTexture(TextureUnits::MaxwellTexture(i).Enum());
glBindTexture(GL_TEXTURE_2D, texture_units[i].texture_2d);
}
if (texture_units[i].sampler != cur_state.texture_units[i].sampler) {