summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/pluginscript/pluginscript_language.h
diff options
context:
space:
mode:
authorTrevor Davenport <trevor.davenport@gmail.com>2024-11-02 17:06:33 -0600
committerMatias N. Goldberg <dark_sylinc@yahoo.com.ar>2024-11-05 11:52:26 -0300
commita5070af460e46ec3948ddaebe68373af91cd3660 (patch)
treee7818d6d475cbba0ea63433d6cc7b02dc1888d2a /modules/gdnative/pluginscript/pluginscript_language.h
parentb00e1cbf743dcb6a2b7f6bd14e348a1a7cf3d403 (diff)
downloadredot-engine-a5070af460e46ec3948ddaebe68373af91cd3660.tar.gz
Account for the case surface_capabilities.currentExtent is unset
Wayland in particular sets surface_capabilities.currentExtent.width to the special value 0xFFFFFFFF, which is valid per spec. Fixes #98779 It may also fix misc issues when resizing on all platforms. Superseedes PR #98780 , thanks to user tdaven for the original patch. PR #98780 would break Android support as it did not account that width and height might need to be swapped. Replaced manual swap by Godot's SWAP(), which indicates intention much easier.
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_language.h')
0 files changed, 0 insertions, 0 deletions