(Zahrand) Don't need this I think

This commit is contained in:
twinaphex 2016-02-25 22:54:30 +01:00
parent 1516ee8e76
commit 198ecd263d

View File

@ -819,9 +819,6 @@ static void device_draw(struct device *dev,
glEnable(GL_BLEND);
glBlendEquation(GL_FUNC_ADD);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDisable(GL_CULL_FACE);
glDisable(GL_DEPTH_TEST);
glEnable(GL_SCISSOR_TEST);
glActiveTexture(GL_TEXTURE0);
/* setup program */
@ -889,7 +886,7 @@ static void device_draw(struct device *dev,
glBindBuffer(GL_ARRAY_BUFFER, (GLuint)last_vbo);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, (GLuint)last_ebo);
glBindVertexArray((GLuint)last_vao);
glDisable(GL_SCISSOR_TEST);
glDisable(GL_BLEND);
#endif
}