GPU: Fix faulty mac gpu detection

This commit is contained in:
Clément Foucault 2018-10-30 11:02:49 +01:00
parent f907eb4268
commit 76a047893c

@ -255,7 +255,7 @@ void gpu_extensions_init(void)
GG.driver = GPU_DRIVER_OFFICIAL;
#if defined(__APPLE__)
if (strstr(vendor, "AMD Radeon Pro")) {
if (strstr(renderer, "AMD Radeon Pro")) {
GG.depth_blitting_workaround = true;
}
#endif