|
@@ -15,11 +15,6 @@
|
|
|
#include "imgui_impl_sdlrenderer3.h"
|
|
|
#include <stdio.h>
|
|
|
#include <SDL3/SDL.h>
|
|
|
-#if defined(IMGUI_IMPL_OPENGL_ES2)
|
|
|
-#include <SDL3/SDL_opengles2.h>
|
|
|
-#else
|
|
|
-#include <SDL3/SDL_opengl.h>
|
|
|
-#endif
|
|
|
|
|
|
#ifdef __EMSCRIPTEN__
|
|
|
#include "../libs/emscripten/emscripten_mainloop_stub.h"
|
|
@@ -36,7 +31,7 @@ int main(int, char**)
|
|
|
}
|
|
|
|
|
|
// Create window with SDL_Renderer graphics context
|
|
|
- Uint32 window_flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN;
|
|
|
+ Uint32 window_flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN;
|
|
|
SDL_Window* window = SDL_CreateWindow("Dear ImGui SDL3+SDL_Renderer example", 1280, 720, window_flags);
|
|
|
if (window == nullptr)
|
|
|
{
|