GPU Extension: Fix AMD Vega + open source driver detection.

This commit is contained in:
Clément Foucault 2017-10-17 00:53:14 +02:00
parent 3b6d7b5152
commit 7d71007cfb
1 changed files with 1 additions and 1 deletions

View File

@ -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;