mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Prevent implicit and superfluous memset
This commit is contained in:
parent
42053a82e1
commit
35ba7fb2c4
@ -2160,13 +2160,16 @@ static void gl_update_tex_filter_frame(gl_t *gl)
|
|||||||
unsigned i, mip_level;
|
unsigned i, mip_level;
|
||||||
GLenum wrap_mode;
|
GLenum wrap_mode;
|
||||||
GLuint new_filt;
|
GLuint new_filt;
|
||||||
video_shader_ctx_wrap_t wrap_info = {0};
|
video_shader_ctx_wrap_t wrap_info;
|
||||||
bool smooth = false;
|
bool smooth = false;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
if (!gl)
|
if (!gl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
wrap_info.idx = 0;
|
||||||
|
wrap_info.type = RARCH_WRAP_BORDER;
|
||||||
|
|
||||||
context_bind_hw_render(false);
|
context_bind_hw_render(false);
|
||||||
|
|
||||||
shader_filter.index = 1;
|
shader_filter.index = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user