mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
action_start_shader_scale_pass - cleanup
This commit is contained in:
parent
235648232e
commit
0baf564299
@ -157,14 +157,12 @@ static int action_start_shader_scale_pass(unsigned type, const char *label,
|
||||
shader = menu->shader;
|
||||
|
||||
if (shader)
|
||||
{
|
||||
shader_pass = &shader->pass[pass];
|
||||
|
||||
if (shader_pass)
|
||||
{
|
||||
shader_pass->fbo.scale_x = shader_pass->fbo.scale_y = 0;
|
||||
shader_pass->fbo.valid = false;
|
||||
}
|
||||
if (shader_pass)
|
||||
{
|
||||
shader_pass->fbo.scale_x = shader_pass->fbo.scale_y = 0;
|
||||
shader_pass->fbo.valid = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user