mirror of
https://github.com/Drezil/imgui.git
synced 2025-03-31 08:22:44 +00:00
Examples: SDL+OpenGL3: fixed build on ES2 target. (#4492)
This commit is contained in:
parent
bb6a60b1ff
commit
11103f8253
@ -8,9 +8,10 @@
|
|||||||
#include "imgui_impl_opengl3.h"
|
#include "imgui_impl_opengl3.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL_opengl.h>
|
|
||||||
#if defined(IMGUI_IMPL_OPENGL_ES2)
|
#if defined(IMGUI_IMPL_OPENGL_ES2)
|
||||||
#include <SDL_opengles2.h>
|
#include <SDL_opengles2.h>
|
||||||
|
#else
|
||||||
|
#include <SDL_opengl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Main code
|
// Main code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user