Prevent implicit and superfluous memset

This commit is contained in:
twinaphex 2016-10-21 20:04:56 +02:00
parent 42053a82e1
commit 35ba7fb2c4

View File

@ -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;