Merge pull request #430 from Hultan/master

Small change in examples/texture/draw_tile
This commit is contained in:
Milan Nikolic 2024-10-19 11:21:48 +02:00 committed by GitHub
commit 0975c91121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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{