Mercurial > repos > blastem
comparison nuklear_ui/nuklear_sdl_gles2.h @ 1496:b82a44729d7c nuklear_ui
Fix GL include issue for 32-bit builds
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 07 Dec 2017 18:57:38 -0800 |
parents | c5c022c7aa54 |
children | b581663c42ec |
comparison
equal
deleted
inserted
replaced
1495:e9e1910eb2f5 | 1496:b82a44729d7c |
---|---|
13 * =============================================================== | 13 * =============================================================== |
14 */ | 14 */ |
15 #ifndef NK_SDL_GLES2_H_ | 15 #ifndef NK_SDL_GLES2_H_ |
16 #define NK_SDL_GLES2_H_ | 16 #define NK_SDL_GLES2_H_ |
17 | 17 |
18 #include <SDL2/SDL.h> | 18 #include <SDL.h> |
19 #include <SDL2/SDL_opengles2.h> | 19 #ifndef DISABLE_OPENGL |
20 #include <GL/glew.h> | |
21 #endif | |
20 | 22 |
21 | 23 |
22 NK_API struct nk_context* nk_sdl_init(SDL_Window *win); | 24 NK_API struct nk_context* nk_sdl_init(SDL_Window *win); |
23 NK_API void nk_sdl_font_stash_begin(struct nk_font_atlas **atlas); | 25 NK_API void nk_sdl_font_stash_begin(struct nk_font_atlas **atlas); |
24 NK_API void nk_sdl_font_stash_end(void); | 26 NK_API void nk_sdl_font_stash_end(void); |