Ryan C. Gordon
4d4a2786bb
render: Updates to format-string versions of SDL_RenderDebugText.
...
- Removes SDL_RenderDebugTextV
- Changes SDL_RenderDebugTextF to SDL_RenderDebugTextFormat and tweaks it to
work in a world without SDL_RenderDebugTextV.
- Tweaked rendering position of formatted text in the example program.
2024-12-18 10:40:31 -05:00
williamist
6abebca943
Fix format string in debug-text example
...
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2024-12-18 10:40:31 -05:00
williamistGitHub
1d0e28a5b3
Add SDL_RenderDebugTextF & SDL_RenderDebugTextV
...
This should make it easier to quickly put important numbers and such on
the screen without having to format them into a string manually.
2024-12-18 10:40:31 -05:00
Michael Palomas
21c91d5535
examples now using SDL_ALPHA_OPAQUE(_FLOAT) for opaque alpha value
2024-10-23 07:28:33 -07:00
Ryan C. Gordon
c20918b0fb
render: Add SDL_RenderDebugText().
...
Fixes #11201 .
2024-10-14 02:45:33 -04:00