From 65ccf2a71762433b0674b2b42e5a70f90d9e2c5a Mon Sep 17 00:00:00 2001 From: StapleButter Date: Fri, 31 May 2019 19:29:48 +0200 Subject: blarg --- src/OpenGLSupport.h | 2 +- src/libui_sdl/main.cpp | 2 +- 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); -- cgit v1.2.3