aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2019-05-31 19:29:48 +0200
committerStapleButter <thetotalworm@gmail.com>2019-05-31 19:29:48 +0200
commit65ccf2a71762433b0674b2b42e5a70f90d9e2c5a (patch)
tree2a6bf9c4c3d756dfea70b4fcbe6940c8f734d389 /src
parent1a3314f0bdda811ee6db43f3fb467401b4f69d55 (diff)
blarg
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);