diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-25 19:36:47 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-05-25 19:36:47 +0200 |
commit | 70a324371451b872dc5b4bba3cff696ad7a1cbb3 (patch) | |
tree | f708cb421ee0aeeccf92883421368ed8647509ba /src/GPU3D_OpenGL.cpp | |
parent | 8c93a4557419ccdec2598af32e3305bdefbbd23b (diff) |
simpler GPU-compositing. will make it easier to grab neighbor 2D/3D pixels individually for filtering.
Diffstat (limited to 'src/GPU3D_OpenGL.cpp')
-rw-r--r-- | src/GPU3D_OpenGL.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GPU3D_OpenGL.cpp b/src/GPU3D_OpenGL.cpp index 9144792..c759147 100644 --- a/src/GPU3D_OpenGL.cpp +++ b/src/GPU3D_OpenGL.cpp @@ -890,6 +890,8 @@ void RenderSceneChunk(int y, int h) glBindBuffer(GL_ARRAY_BUFFER, ClearVertexBufferID); glBindVertexArray(ClearVertexArrayID); glDrawArrays(GL_TRIANGLES, 0, 2*3); + + glFlush(); } } |