action_start_shader_scale_pass - cleanup

This commit is contained in:
twinaphex 2015-05-17 16:53:53 +02:00
parent 235648232e
commit 0baf564299

View File

@ -157,14 +157,12 @@ static int action_start_shader_scale_pass(unsigned type, const char *label,
shader = menu->shader; shader = menu->shader;
if (shader) if (shader)
{
shader_pass = &shader->pass[pass]; shader_pass = &shader->pass[pass];
if (shader_pass) if (shader_pass)
{ {
shader_pass->fbo.scale_x = shader_pass->fbo.scale_y = 0; shader_pass->fbo.scale_x = shader_pass->fbo.scale_y = 0;
shader_pass->fbo.valid = false; shader_pass->fbo.valid = false;
}
} }
#endif #endif