3
0
Fork 0
forked from suyu/suyu

renderer_opengl: Initalise fragment shader LUT textures

This commit is contained in:
MerryMage 2016-02-26 00:12:38 +00:00
parent 0d086616d1
commit 0801363840

View file

@ -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;