mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Apply workaround for font texture loading on Radeon 3000/4000-era graphics cards to mobile GPUs as well as desktop ones.
This commit is contained in:
@@ -164,7 +164,7 @@ bool OpenGL::initContext()
|
|||||||
// the 7000 series. We'll assume this bug doesn't affect those newer
|
// the 7000 series. We'll assume this bug doesn't affect those newer
|
||||||
// GPUs / drivers.
|
// GPUs / drivers.
|
||||||
const char *device = (const char *) glGetString(GL_RENDERER);
|
const char *device = (const char *) glGetString(GL_RENDERER);
|
||||||
if (strstr(device, "ATI Radeon HD "))
|
if (strstr(device, "ATI Radeon HD ") || strstr(device, "ATI Mobility Radeon HD"))
|
||||||
bugs.texStorageBreaksSubImage = true;
|
bugs.texStorageBreaksSubImage = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user