mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-24 03:58:28 +00:00
Property query functions don't set an error if they return the default value
You can call SDL_HasProperty() if you want to check to see if a property exists. Fixes https://github.com/libsdl-org/SDL/issues/9067
This commit is contained in:
@@ -997,3 +997,4 @@
|
||||
#define SDL_RenderGeometryRawFloat SDL_RenderGeometryRawFloat_REAL
|
||||
#define SDL_SetWindowShape SDL_SetWindowShape_REAL
|
||||
#define SDL_RenderViewportSet SDL_RenderViewportSet_REAL
|
||||
#define SDL_HasProperty SDL_HasProperty_REAL
|
||||
|
Reference in New Issue
Block a user