Closed jeffbdavenport closed 1 year ago
Running which example?
I guess you are not running the provided examples because of the assertion. In this case it is more an imgui issue than a cimgui issue. But reading the assertion message I would say you are missing ImGui_ImplOpenGL3_NewFrame() being called
I want to use the SDL renderer instead of OpenGL. Reading the implementation code it seems that it is possible. I am not running the example for that one because it doesn't seem to exist.
So OpenGL is required for the SDL2 implementation here? How would I go about trying to use the SDL2 renderer here instead?
So OpenGL is required for the SDL2 implementation here?
Yes, equivalent to https://github.com/ocornut/imgui/tree/master/examples/example_sdl2_opengl3
How would I go about trying to use the SDL2 renderer here instead?
You should be familiar first with which is provided. Then you should tune cimgui to generate C interface for https://github.com/ocornut/imgui/blob/master/backends/imgui_impl_sdlrenderer.h. Then modify this repo to add sdlrenderer.
Hmm alright
If I use the following lines of code on Windows 10,
I just get the error below. What gives?