GPU: Fix gpu workaround detection

This commit is contained in:
Clément Foucault 2018-12-05 16:02:52 +01:00
parent 309d4bfbbc
commit 16749070ae
1 changed files with 2 additions and 2 deletions

View File

@ -271,8 +271,8 @@ void gpu_extensions_init(void)
GG.driver = GPU_DRIVER_OFFICIAL;
#ifdef _WIN32
if (strstr(vendor, "Radeon HD 7500M") ||
strstr(vendor, "Radeon HD 7570M"))
if (strstr(renderer, "Radeon HD 7500M") ||
strstr(renderer, "Radeon HD 7570M"))
{
GG.unused_fb_slot_workaround = true;
}