mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +00:00
tests: Clean up the window creation properties in the Wayland custom surface example
This commit is contained in:
parent
9a77813df0
commit
ec2159d492
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ int main(int argc, char **argv)
|
||||||
SDL_SetStringProperty(props, SDL_PROPERTY_WINDOW_CREATE_TITLE_STRING, "Wayland custom surface role test"); /* Default title */
|
SDL_SetStringProperty(props, SDL_PROPERTY_WINDOW_CREATE_TITLE_STRING, "Wayland custom surface role test"); /* Default title */
|
||||||
|
|
||||||
window = SDL_CreateWindowWithProperties(props);
|
window = SDL_CreateWindowWithProperties(props);
|
||||||
|
SDL_DestroyProperties(props);
|
||||||
if (!window) {
|
if (!window) {
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Window creation failed");
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Window creation failed");
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue