mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Fix images with mipmaps when ANGLE is used with an AMD gpu.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user