Closed firodj closed 1 year ago
Hi @firodj, thanks for the PR! Could you help me see the reason for introducing this change? I'm not familiar with ImGui so more elaboration would be appreciated.
here is how to use (taken from ImGUI C Examples):
https://github.com/firodj/imgui-go-examples/blob/sdlrenderer/internal/renderers/SDL.go#L152
Thanks @firodj! I think I see the issue now. I will merge it to master
and v0.4.x
branches and also create a new tag v0.4.28
with this change.
I saw different parameters for
RenderGeometryRaw
with actual SDL2 API. This change enables ImGui to use SDL Renderer.