From 11103f82539b23867bb8f04dd8567c2c870f8756 Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 27 Aug 2021 21:32:36 +0200 Subject: [PATCH] Examples: SDL+OpenGL3: fixed build on ES2 target. (#4492) --- examples/example_sdl_opengl3/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/example_sdl_opengl3/main.cpp b/examples/example_sdl_opengl3/main.cpp index c9a059c7..a7e7fc01 100644 --- a/examples/example_sdl_opengl3/main.cpp +++ b/examples/example_sdl_opengl3/main.cpp @@ -8,9 +8,10 @@ #include "imgui_impl_opengl3.h" #include #include -#include #if defined(IMGUI_IMPL_OPENGL_ES2) #include +#else +#include #endif // Main code