From c9b14bee9ad8354633bff888abacc600a778b54d Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Thu, 7 Dec 2017 18:57:38 -0800 Subject: Fix GL include issue for 32-bit builds --HG-- branch : nuklear_ui --- nuklear_ui/nuklear_sdl_gles2.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nuklear_ui/nuklear_sdl_gles2.h') 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 -#include +#include +#ifndef DISABLE_OPENGL +#include +#endif NK_API struct nk_context* nk_sdl_init(SDL_Window *win); -- cgit v1.2.3