diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-04 22:03:43 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-06 16:15:04 +0100 |
commit | 09ada722c867cba72cc9ae256b6dd54aed0d8aed (patch) | |
tree | c26af5a45c7bddba660ed13a82c19e2b3b99868b /chart2/source | |
parent | ad491f201ad35c8ab3a687f40dfc4d0680c61cb7 (diff) |
get z order correct in a few more places
Change-Id: I88ff54193fe527fe4d498753557a27a99a856f05
Diffstat (limited to 'chart2/source')
-rwxr-xr-x | chart2/source/view/main/OpenGLRender.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx index 74eb078f5bfc..9097c7858397 100755 --- a/chart2/source/view/main/OpenGLRender.cxx +++ b/chart2/source/view/main/OpenGLRender.cxx @@ -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; } |