This commit is contained in:
StapleButter 2019-05-31 19:29:48 +02:00
parent 1a3314f0bd
commit 65ccf2a717
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
// if you need more OpenGL functions, add them to the macronator here // if you need more OpenGL functions, add them to the macronator here
// TODO: handle conditionally loading certain functions for different GL versions // TODO: handle conditionally loading certain functions for different GL versions
#ifdef GL_VERSION_1_3 #ifndef __WIN32__
#define DO_PROCLIST_1_3(func) #define DO_PROCLIST_1_3(func)

View File

@ -427,7 +427,7 @@ void GLScreen_DrawScreen()
glBindBuffer(GL_ARRAY_BUFFER, GL_ScreenVertexBufferID); glBindBuffer(GL_ARRAY_BUFFER, GL_ScreenVertexBufferID);
glBindVertexArray(GL_ScreenVertexArrayID); glBindVertexArray(GL_ScreenVertexArrayID);
glDrawArrays(GL_TRIANGLES, 0, 4*3); glDrawArrays(GL_TRIANGLES, 0, 4*3);
} }
glFlush(); glFlush();
uiGLSwapBuffers(GLContext); uiGLSwapBuffers(GLContext);