From 309bd45a01f623f76d9a213dd62418da8886647a Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 17 May 2026 12:40:43 +0200 Subject: [PATCH] port: #718: disable linear filtering and mipmaps when three-point is enabled --- port/fast3d/gfx_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/fast3d/gfx_opengl.cpp b/port/fast3d/gfx_opengl.cpp index 803acf7b3..db5cfbfc4 100644 --- a/port/fast3d/gfx_opengl.cpp +++ b/port/fast3d/gfx_opengl.cpp @@ -720,7 +720,7 @@ static void gfx_opengl_set_sampler_parameters(int tile, bool linear_filter, uint // MIPMAP_DISABLED MIPMAP_NEAREST MIPMAP_LINEAR { GL_NEAREST, GL_NEAREST_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR }, // FILTER_NONE { GL_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_LINEAR }, // FILTER_BILINEAR - { GL_NEAREST, GL_NEAREST_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR }, // FILTER_THREE_POINT + { GL_NEAREST, GL_NEAREST, GL_NEAREST }, // FILTER_THREE_POINT }; mipmaps = mipmaps && (current_mipmap_filter_mode != MIPMAP_DISABLED);