mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(Zahrand) Don't need this I think
This commit is contained in:
parent
1516ee8e76
commit
198ecd263d
@ -819,9 +819,6 @@ static void device_draw(struct device *dev,
|
|||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glBlendEquation(GL_FUNC_ADD);
|
glBlendEquation(GL_FUNC_ADD);
|
||||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
glDisable(GL_CULL_FACE);
|
|
||||||
glDisable(GL_DEPTH_TEST);
|
|
||||||
glEnable(GL_SCISSOR_TEST);
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
|
|
||||||
/* setup program */
|
/* setup program */
|
||||||
@ -889,7 +886,7 @@ static void device_draw(struct device *dev,
|
|||||||
glBindBuffer(GL_ARRAY_BUFFER, (GLuint)last_vbo);
|
glBindBuffer(GL_ARRAY_BUFFER, (GLuint)last_vbo);
|
||||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, (GLuint)last_ebo);
|
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, (GLuint)last_ebo);
|
||||||
glBindVertexArray((GLuint)last_vao);
|
glBindVertexArray((GLuint)last_vao);
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_BLEND);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user