From 51d07339431f468ff8d3ecebc3d1219a8b2b138f Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Thu, 30 May 2019 20:36:19 -0300 Subject: [PATCH] Apply workaround for font texture loading on Radeon 3000/4000-era graphics cards to mobile GPUs as well as desktop ones. --- src/modules/graphics/opengl/OpenGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/OpenGL.cpp b/src/modules/graphics/opengl/OpenGL.cpp index 6a7c8bc4b..b02680962 100644 --- a/src/modules/graphics/opengl/OpenGL.cpp +++ b/src/modules/graphics/opengl/OpenGL.cpp @@ -164,7 +164,7 @@ bool OpenGL::initContext() // the 7000 series. We'll assume this bug doesn't affect those newer // GPUs / drivers. 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; } #endif