disable
This commit is contained in:
parent
4189b6e6d2
commit
32a82adc96
2 changed files with 4 additions and 0 deletions
|
@ -159,6 +159,9 @@ static void draw(void) {
|
||||||
|
|
||||||
deplacement += (float)(0.4 * M_PI * dt);
|
deplacement += (float)(0.4 * M_PI * dt);
|
||||||
glUseProgram(0);
|
glUseProgram(0);
|
||||||
|
|
||||||
|
glDisable(GL_DEPTH_TEST);
|
||||||
|
glDisable(GL_CULL_FACE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void deinit(void) {
|
static void deinit(void) {
|
||||||
|
|
|
@ -104,6 +104,7 @@ static void draw(void) {
|
||||||
|
|
||||||
glUseProgram(0);
|
glUseProgram(0);
|
||||||
glBindTexture(GL_TEXTURE_2D, 0);
|
glBindTexture(GL_TEXTURE_2D, 0);
|
||||||
|
glDisable(GL_DEPTH_TEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void deinit(void) {
|
static void deinit(void) {
|
||||||
|
|
Reference in a new issue