Browse Source

Apply workaround for font texture loading on Radeon 3000/4000-era graphics cards to mobile GPUs as well as desktop ones.

Alex Szpakowski 6 years ago
parent
commit
51d0733943
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/OpenGL.cpp

+ 1 - 1
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