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

This commit is contained in:
Sasha Szpakowski
2023-01-14 22:35:00 -04:00
parent 0acb2f57dc
commit 592c306276
+1 -1
View File
@@ -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