diff --git a/system/ui/lib/application.py b/system/ui/lib/application.py index af254f4b57..352a8cfa9a 100644 --- a/system/ui/lib/application.py +++ b/system/ui/lib/application.py @@ -312,6 +312,8 @@ class GuiApplication: texture = rl.load_texture_from_image(image) # Set texture filtering to smooth the result rl.set_texture_filter(texture, rl.TextureFilter.TEXTURE_FILTER_BILINEAR) + # prevent artifacts from wrapping coordinates + rl.set_texture_wrap(texture, rl.TextureWrap.TEXTURE_WRAP_CLAMP) rl.unload_image(image) return texture