mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-28 15:02:28 +00:00
Try to prevent null pointer dereference
This commit is contained in:
parent
9812dfb4d4
commit
9e7ac432c3
@ -1045,7 +1045,7 @@ static void gl_glsl_set_uniform_parameter(
|
||||
GLint location = 0;
|
||||
glsl_shader_data_t *glsl = (glsl_shader_data_t*)data;
|
||||
|
||||
if (!param)
|
||||
if (!glsl || !param)
|
||||
return;
|
||||
|
||||
if (param->lookup.enable)
|
||||
|
Loading…
x
Reference in New Issue
Block a user