# HG changeset patch # User Michael Pavone # Date 1512701858 28800 # Node ID b82a44729d7c1245efb61fdc2c99832c7bb1ed9e # Parent e9e1910eb2f51e35f818780a5aaf7c28c01bf404 Fix GL include issue for 32-bit builds diff -r e9e1910eb2f5 -r b82a44729d7c nuklear_ui/blastem_nuklear.h --- a/nuklear_ui/blastem_nuklear.h Thu Dec 07 18:57:18 2017 -0800 +++ b/nuklear_ui/blastem_nuklear.h Thu Dec 07 18:57:38 2017 -0800 @@ -7,7 +7,6 @@ #define NK_INCLUDE_DEFAULT_ALLOCATOR #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT #define NK_INCLUDE_FONT_BAKING -#include #include "nuklear.h" #include "nuklear_sdl_gles2.h" diff -r e9e1910eb2f5 -r b82a44729d7c nuklear_ui/nuklear_sdl_gles2.h --- a/nuklear_ui/nuklear_sdl_gles2.h Thu Dec 07 18:57:18 2017 -0800 +++ b/nuklear_ui/nuklear_sdl_gles2.h Thu Dec 07 18:57:38 2017 -0800 @@ -15,8 +15,10 @@ #ifndef NK_SDL_GLES2_H_ #define NK_SDL_GLES2_H_ -#include -#include +#include +#ifndef DISABLE_OPENGL +#include +#endif NK_API struct nk_context* nk_sdl_init(SDL_Window *win);