summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2016-02-26 01:12:38 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2016-02-26 01:12:38 +0100
commit08013638403c01165844e3640a21523e09b7281e (patch)
tree7d60903effffc187d6a19d15d2f706f31fa80d8e /src/video_core/renderer_opengl
parentMerge pull request #1406 from MerryMage/bitfield2 (diff)
downloadyuzu-08013638403c01165844e3640a21523e09b7281e.tar
yuzu-08013638403c01165844e3640a21523e09b7281e.tar.gz
yuzu-08013638403c01165844e3640a21523e09b7281e.tar.bz2
yuzu-08013638403c01165844e3640a21523e09b7281e.tar.lz
yuzu-08013638403c01165844e3640a21523e09b7281e.tar.xz
yuzu-08013638403c01165844e3640a21523e09b7281e.tar.zst
yuzu-08013638403c01165844e3640a21523e09b7281e.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_state.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp
index ab4b6c7b1..08e4d0b54 100644
--- a/src/video_core/renderer_opengl/gl_state.cpp
+++ b/src/video_core/renderer_opengl/gl_state.cpp
@@ -48,6 +48,10 @@ OpenGLState::OpenGLState() {
texture_unit.sampler = 0;
}
+ for (auto& lut : lighting_lut) {
+ lut.texture_1d = 0;
+ }
+
draw.framebuffer = 0;
draw.vertex_array = 0;
draw.vertex_buffer = 0;