mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Add null pointer check
This commit is contained in:
parent
890c781a76
commit
ab9e00219d
@ -311,7 +311,7 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
|
||||
if (major >= 3)
|
||||
return true;
|
||||
#else
|
||||
if (strstr(vendor, "ATI Technologies"))
|
||||
if (vendor && strstr(vendor, "ATI Technologies"))
|
||||
return false;
|
||||
if (gl_query_extension("ARB_texture_storage"))
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user