render/gles2: do not set GL_TEXTURE_MAG_FILTER

This commit is contained in:
Ronan Pigott 2019-11-13 10:45:30 -07:00 committed by Drew DeVault
parent 5cde35923c
commit 5df606d8ab

View file

@ -152,7 +152,6 @@ static bool gles2_render_texture_with_matrix(struct wlr_renderer *wlr_renderer,
glBindTexture(texture->target, texture->tex);
glTexParameteri(texture->target, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(texture->target, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glUseProgram(shader->program);