Relative Content

Tag Archive for sdl-2

Nice old example on SDL2 render-to-texture, window doesn’t appear, what changed?

Seeking to understand how to use SDL2 in the render-to-texture mode, I found this nice, crisp example from the answer to this question and tried it. It builds, it executes without reporting any error and runs for 8 seconds as specified, but no window appears. Changing the position to SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED doesn’t make a difference.

SVG format and IMG_Init

if I’m trying to use only *.SVG format vectorial files, at IMG_Init(flags) in SVG_image.h I see listed only this flags: