Fix T57455: Laggy, freezing UI with Linux and Intel UHD 620

Seems like a driver bug but doing glFlush() before these calls fixes it.
This commit is contained in:
2018-12-02 01:57:22 +01:00
parent 8c620c8e2b
commit 40d0374411
3 changed files with 13 additions and 2 deletions

View File

@@ -282,6 +282,10 @@ void gpu_extensions_init(void)
{
GG.device = GPU_DEVICE_INTEL;
GG.driver = GPU_DRIVER_OFFICIAL;
if (strstr(renderer, "UHD Graphics")) {
GG.device |= GPU_DEVICE_INTEL_UHD;
}
}
else if ((strstr(renderer, "Mesa DRI R")) ||
(strstr(renderer, "Radeon") && strstr(vendor, "X.Org")) ||