build 180919. gldrawarrays() crash fix

This commit is contained in:
tmj-fstate
2018-09-19 21:47:58 +02:00
parent 38591a09f2
commit 2448e59dc8
2 changed files with 5 additions and 1 deletions

View File

@@ -413,6 +413,10 @@ opengl_renderer::Render() {
setup_units( true, false, false );
Application.render_ui();
if( Global.bUseVBO ) {
// swapbuffers() will unbind current buffers so we prepare for it on our end
gfx::opengl_vbogeometrybank::reset();
}
Timer::subsystem.gfx_swap.start();
glfwSwapBuffers( m_window );
Timer::subsystem.gfx_swap.stop();

View File

@@ -1,5 +1,5 @@
#pragma once
#define VERSION_MAJOR 18
#define VERSION_MINOR 918
#define VERSION_MINOR 919
#define VERSION_REVISION 0