Set gl->tex_filter correctly in gfx_ctx_set_filtering.