raylib: minor tweaks (#36507)

* try

* generic

* check

* why was this here?!
This commit is contained in:
Shane Smiskol
2025-10-27 19:59:35 -07:00
committed by GitHub
parent e754b738ad
commit 2d6df2e125
9 changed files with 22 additions and 17 deletions
+2
View File
@@ -274,6 +274,8 @@ class GuiApplication:
rl.image_resize(image, new_width, new_height)
else:
rl.image_resize(image, width, height)
else:
assert keep_aspect_ratio, "Cannot resize without specifying width and height"
return image
def _load_texture_from_image(self, image: rl.Image) -> rl.Texture: