removed unused gl_depth
This commit is contained in:
@@ -177,7 +177,6 @@ void RenderThread::paint() {
|
||||
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
glEnable(GL_BLEND);
|
||||
glEnable(GL_DEPTH);
|
||||
|
||||
compose_sequence(params);
|
||||
|
||||
@@ -222,7 +221,6 @@ void RenderThread::paint() {
|
||||
pixel_buffer = nullptr;
|
||||
}
|
||||
|
||||
glDisable(GL_DEPTH);
|
||||
glDisable(GL_BLEND);
|
||||
glDisable(GL_TEXTURE_2D);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user