mirror of
https://github.com/love2d/love.git
synced 2026-08-20 12:40:20 +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)
|
if (getVendor() == VENDOR_AMD)
|
||||||
{
|
{
|
||||||
bugs.clearRequiresDriverTextureStateUpdate = true;
|
bugs.clearRequiresDriverTextureStateUpdate = true;
|
||||||
if (!gl.isCoreProfile())
|
if (!gl.isCoreProfile() && !GLAD_ES_VERSION_2_0)
|
||||||
bugs.generateMipmapsRequiresTexture2DEnable = true;
|
bugs.generateMipmapsRequiresTexture2DEnable = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user