imgui with the SDL2 renderer (not gl/dx...) #4569
Replies: 3 comments 1 reply
-
The current version of SDL_Renderer API makes it impossible to render textured triangles (it's a very poor API ihmo and I personally think you should avoid using SDL_Renderer. You can use the OpenGL/DX9/DX11 backend with SDL). But next version of SDL will upgrade SDL_Renderer to allow rendering textured triangles and when that is released we will add the backend for it. There's a yet unmerged pull request doing just that: #3926 |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. I currently have trouble mixing imgui/SDL/GL and the renderer: I manage to get one or the other, but not both. I'm going to get through this by opening two windows: one with imgui/SDL/GL and one with the SDL/renderer. best, |
Beta Was this translation helpful? Give feedback.
-
Thank to this Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi,
Can I use imgui with the basic SDL2 renderer: the one create with SDL_CreateRenderer ?
(without using OpenGL or DX or any other renderer).
Best,
Beta Was this translation helpful? Give feedback.
All reactions