Issue with geometry drawing using SDL 2.0.10


#1

Hey there,
I’m using SDL (also sdl image and ttf) for a small tool to create overlay presets. Currently I’m using SDL 2.0.8 and everything works fine, but recently I updated to 2.0.10 and now none of the drawing works, except for text and images.

I’ve read that there’s some update with batching, but I have no idea how it works.
My current setup is basically this:

  1. Clear renderer
  2. Draw user interface, text and images
  3. Call SDL_RenderPresent
    The entire source code is here, and the most important parts are sdl_helper and tool.

When I start the app I can briefly see the UI being drawn and the next frame it’s gone. So I was wondering if anyone could help me fix this, since I don’t want to ship an old version of SDL unless I really have to.