GPU Extension: Fix AMD Vega + open source driver detection.
This commit is contained in:
parent
3b6d7b5152
commit
7d71007cfb
|
@ -180,7 +180,7 @@ void gpu_extensions_init(void)
|
|||
}
|
||||
/* XXX : TODO : Remove this once this sampling mipmap problem is gone.
|
||||
* https://github.com/dfelinto/opengl-sandbox/blob/downsample/README.md */
|
||||
else if (strstr(renderer, "AMD VEGA") ||
|
||||
else if (strstr(renderer, "AMD VEGA") &&
|
||||
strstr(vendor, "X.Org")) {
|
||||
GG.device = GPU_DEVICE_AMD_VEGA;
|
||||
GG.driver = GPU_DRIVER_OPENSOURCE;
|
||||
|
|
Loading…
Reference in New Issue