From eb60c30db123621d9c451fafacde1be4ba20bab1 Mon Sep 17 00:00:00 2001 From: Per Hultqvist Date: Sat, 19 Oct 2024 09:55:40 +0200 Subject: [PATCH] Textures/draw_tiled : Changed to the correct texture filter --- examples/textures/draw_tiled/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/textures/draw_tiled/main.go b/examples/textures/draw_tiled/main.go index 9d38c18..377c6d3 100644 --- a/examples/textures/draw_tiled/main.go +++ b/examples/textures/draw_tiled/main.go @@ -34,7 +34,7 @@ func main() { // NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required) texPattern := rl.LoadTexture("patterns.png") - rl.SetTextureFilter(texPattern, rl.TextureFilterNearestMipLinear) // Makes the texture smoother when upscaled + rl.SetTextureFilter(texPattern, rl.FilterTrilinear) // Makes the texture smoother when upscaled // Coordinates for all patterns inside the texture recPattern := []rl.Rectangle{