Get rid of unused variable warning

This commit is contained in:
Twinaphex 2014-10-16 03:17:44 +02:00
parent 253d8e0da9
commit 443a11a52b

View File

@ -879,8 +879,8 @@ static int action_start_shader_filter_pass(unsigned type, const char *label,
struct gfx_shader_pass *shader_pass = (struct gfx_shader_pass*)
&shader->pass[pass];
if (shader)
shader->pass[pass].filter = RARCH_FILTER_UNSPEC;
if (shader && shader_pass)
shader_pass->filter = RARCH_FILTER_UNSPEC;
#endif
return 0;