diff --git a/src/OpenGLSupport.h b/src/OpenGLSupport.h index 239ae95b..31a0dc02 100644 --- a/src/OpenGLSupport.h +++ b/src/OpenGLSupport.h @@ -47,7 +47,7 @@ // if you need more OpenGL functions, add them to the macronator here // TODO: handle conditionally loading certain functions for different GL versions -#ifdef GL_VERSION_1_3 +#ifndef __WIN32__ #define DO_PROCLIST_1_3(func) diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp index c351a041..33a35d0c 100644 --- a/src/libui_sdl/main.cpp +++ b/src/libui_sdl/main.cpp @@ -427,7 +427,7 @@ void GLScreen_DrawScreen() glBindBuffer(GL_ARRAY_BUFFER, GL_ScreenVertexBufferID); glBindVertexArray(GL_ScreenVertexArrayID); glDrawArrays(GL_TRIANGLES, 0, 4*3); - } + } glFlush(); uiGLSwapBuffers(GLContext);