gsk: Use linear filtering for sliced textures

We use linear for unsliced textures, so we need
to do the same for sliced ones.
This commit is contained in:
Matthias Clasen 2023-03-15 17:50:01 -04:00
parent 2322fecf3b
commit d1256648f4

View File

@ -3575,7 +3575,7 @@ gsk_gl_render_job_visit_texture (GskGLRenderJob *job,
GskGLTextureSlice *slices = NULL;
guint n_slices = 0;
gsk_gl_driver_slice_texture (job->driver, texture, GL_NEAREST, GL_NEAREST, 0, 0, &slices, &n_slices);
gsk_gl_driver_slice_texture (job->driver, texture, GL_LINEAR, GL_LINEAR, 0, 0, &slices, &n_slices);
g_assert (slices != NULL);
g_assert (n_slices > 0);