Kaydet (Commit) 09ada722 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

get z order correct in a few more places

Change-Id: I88ff54193fe527fe4d498753557a27a99a856f05
üst ad491f20
......@@ -611,6 +611,8 @@ int OpenGLRender::RenderTexture2FBO(GLuint TexID)
glUseProgram(0);
glDepthMask(GL_TRUE);
CHECK_GL_ERROR();
m_fZStep += Z_STEP;
return 0;
}
......@@ -657,6 +659,7 @@ int OpenGLRender::RenderTexture(GLuint TexID)
glXSwapBuffers(glWin.dpy, glWin.win);
#endif
glFlush();
m_fZStep += Z_STEP;
return 0;
}
......@@ -1162,6 +1165,7 @@ int OpenGLRender::RenderBubble2FBO(int)
return -1;
}
CHECK_GL_ERROR();
m_fZStep += Z_STEP;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment