mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
renderer_opengl: Initalise fragment shader LUT textures
This commit is contained in:
parent
0d086616d1
commit
0801363840
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user