mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
video_shader_driver_reset_to_defaults - early return if current_shader
is NULL
This commit is contained in:
parent
9436cc0234
commit
4aca11693e
@ -3377,6 +3377,9 @@ static bool video_shader_driver_get_feedback_pass_null(void *data, unsigned *idx
|
||||
|
||||
static void video_shader_driver_reset_to_defaults(void)
|
||||
{
|
||||
if (!current_shader)
|
||||
return;
|
||||
|
||||
if (!current_shader->wrap_type)
|
||||
current_shader->wrap_type = video_shader_driver_wrap_type_null;
|
||||
if (current_shader->set_mvp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user