mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Prevent coverity warning
This commit is contained in:
parent
b086b72ff9
commit
4144c8de35
@ -3046,11 +3046,7 @@ static const shader_backend_t *video_shader_set_backend(enum rarch_shader_type t
|
||||
bool video_shader_driver_get_prev_textures(video_shader_ctx_texture_t *texture)
|
||||
{
|
||||
if (!texture)
|
||||
{
|
||||
if (texture)
|
||||
texture->id = 0;
|
||||
return false;
|
||||
}
|
||||
texture->id = current_shader->get_prev_textures(shader_data);
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user