aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/OpenGLSupport.h2
-rw-r--r--src/libui_sdl/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/OpenGLSupport.h b/src/OpenGLSupport.h
index 239ae95..31a0dc0 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 c351a04..33a35d0 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);