summaryrefslogtreecommitdiff
path: root/nuklear_ui/nuklear_sdl_gles2.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-12-07 18:57:38 -0800
committerMichael Pavone <pavone@retrodev.com>2017-12-07 18:57:38 -0800
commitc9b14bee9ad8354633bff888abacc600a778b54d (patch)
treefbf1e6c182fa0918993301e717dcb17356fe24d6 /nuklear_ui/nuklear_sdl_gles2.h
parenteec0f93a7227f8c9a1de3335a06084f5aa4349c7 (diff)
Fix GL include issue for 32-bit builds
--HG-- branch : nuklear_ui
Diffstat (limited to 'nuklear_ui/nuklear_sdl_gles2.h')
-rw-r--r--nuklear_ui/nuklear_sdl_gles2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuklear_ui/nuklear_sdl_gles2.h b/nuklear_ui/nuklear_sdl_gles2.h
index f96e610..e22ec1d 100644
--- a/nuklear_ui/nuklear_sdl_gles2.h
+++ b/nuklear_ui/nuklear_sdl_gles2.h
@@ -15,8 +15,10 @@
#ifndef NK_SDL_GLES2_H_
#define NK_SDL_GLES2_H_
-#include <SDL2/SDL.h>
-#include <SDL2/SDL_opengles2.h>
+#include <SDL.h>
+#ifndef DISABLE_OPENGL
+#include <GL/glew.h>
+#endif
NK_API struct nk_context* nk_sdl_init(SDL_Window *win);