Sam Lantinga
a90ad3b0e2
Removed SDL_bool in favor of plain bool
...
We require stdbool.h in the build environment, so we might as well use the plain bool type.
If your environment doesn't have stdbool.h, this simple replacement will suffice:
typedef signed char bool;
2024-09-18 08:32:30 -07:00
Sam Lantinga
dc639956ba
Improve logging performance and make log priorities thread-safe
...
Fixes https://github.com/libsdl-org/SDL/issues/9679
2024-09-16 13:09:17 -07:00
Ryan C. Gordon
93bf534268
testgpu_simple_clear: Fixed AppInit return values.
2024-09-14 19:19:27 -04:00
Caleb Cornett
9730f62e8c
GPU: Rename struct members and parameters for SDL3 naming conventions ( #10730 )
...
---------
Co-authored-by: Evan Hemsley <2342303+thatcosmonaut@users.noreply.github.com>
2024-09-06 16:38:23 -07:00
Sam Lantinga
575d9cda6f
The parameter to SDL_AppEvent() should be non-const
...
This allows functions like SDL_ConvertEventToRenderCoordinates() to work without having to copy the event.
Fixes https://github.com/libsdl-org/SDL/issues/10691
2024-09-03 08:18:36 -07:00
Ryan C. Gordon
88125e4d2d
test: added testgpu_simple_clear.c, for direct comparison to testvulkan.c.
2024-08-31 20:45:41 -04:00