GPU: Remove Mesa + Vega hack.

This is not needed anymore with linux 4.15 + Mesa 17.3.3.
This commit is contained in:
2018-02-07 05:26:56 +01:00
parent 17577c53c6
commit 708ef19d88
4 changed files with 7 additions and 37 deletions

View File

@@ -178,14 +178,6 @@ void gpu_extensions_init(void)
GG.device = GPU_DEVICE_ATI;
GG.driver = GPU_DRIVER_OFFICIAL;
}
/* 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") &&
strstr(vendor, "X.Org"))
{
GG.device = GPU_DEVICE_AMD_VEGA;
GG.driver = GPU_DRIVER_OPENSOURCE;
}
else if (strstr(vendor, "NVIDIA")) {
GG.device = GPU_DEVICE_NVIDIA;
GG.driver = GPU_DRIVER_OFFICIAL;