mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
wayland: unified error message for SDL_SetWindowIcon
This commit is contained in:
parent
3545bad589
commit
2188e99441
1 changed files with 1 additions and 1 deletions
|
|
@ -3263,7 +3263,7 @@ bool Wayland_SetWindowIcon(SDL_VideoDevice *_this, SDL_Window *window, SDL_Surfa
|
|||
struct xdg_toplevel *toplevel = NULL;
|
||||
|
||||
if (!_this->internal->xdg_toplevel_icon_manager_v1) {
|
||||
return SDL_SetError("wayland: cannot set icon; required xdg_toplevel_icon_v1 protocol not supported");
|
||||
return SDL_Unsupported();
|
||||
}
|
||||
|
||||
int image_count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue