3d4b7c6c5f
When setting an icon that is too large previously Godot would die with a X Error of failed request: BadLength error. To avoid this we install an error handler right before we set an icon. If the error handler triggers we halve the icon size until it works or until we've reached a 0 size on either width or height. We print a warning when this happens to alert developers. This fixes #19716 |
||
---|---|---|
.. | ||
android | ||
haiku | ||
iphone | ||
javascript | ||
osx | ||
server | ||
uwp | ||
windows | ||
x11 | ||
register_platform_apis.h | ||
SCsub |