mirror of
https://github.com/brl/mutter.git
synced 2025-03-01 11:04:10 +00:00
CoglGPUInfo - fix check for NVIDIA
NVIDIA drivers have a vendor of "NVIDIA Corporation" not "NVIDIA". Check for both in case older drivers did use "NVIDIA" https://bugzilla.gnome.org/show_bug.cgi?id=779039
This commit is contained in:
parent
5ba38a4ab6
commit
a9f139cab6
@ -169,7 +169,8 @@ check_qualcomm_vendor (const CoglGpuInfoStrings *strings)
|
|||||||
static CoglBool
|
static CoglBool
|
||||||
check_nvidia_vendor (const CoglGpuInfoStrings *strings)
|
check_nvidia_vendor (const CoglGpuInfoStrings *strings)
|
||||||
{
|
{
|
||||||
if (strcmp (strings->vendor_string, "NVIDIA") != 0)
|
if (strcmp (strings->vendor_string, "NVIDIA") != 0 &&
|
||||||
|
strcmp (strings->vendor_string, "NVIDIA Corporation") != 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user