diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 6c5ee51b47..4679a7e973 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -2160,13 +2160,16 @@ static void gl_update_tex_filter_frame(gl_t *gl) unsigned i, mip_level; GLenum wrap_mode; GLuint new_filt; - video_shader_ctx_wrap_t wrap_info = {0}; + video_shader_ctx_wrap_t wrap_info; bool smooth = false; settings_t *settings = config_get_ptr(); if (!gl) return; + wrap_info.idx = 0; + wrap_info.type = RARCH_WRAP_BORDER; + context_bind_hw_render(false); shader_filter.index = 1;