Browse Source

Fix images with mipmaps when ANGLE is used with an AMD gpu.

Sasha Szpakowski 2 years ago
parent
commit
592c306276
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

@@ -154,7 +154,7 @@ bool OpenGL::initContext()
 	if (getVendor() == VENDOR_AMD)
 	{
 		bugs.clearRequiresDriverTextureStateUpdate = true;
-		if (!gl.isCoreProfile())
+		if (!gl.isCoreProfile() && !GLAD_ES_VERSION_2_0)
 			bugs.generateMipmapsRequiresTexture2DEnable = true;
 	}
 #endif