mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fix compilation
This commit is contained in:
@@ -1712,7 +1712,7 @@ PixelFormat Graphics::getSizedFormat(PixelFormat format, bool rendertarget, bool
|
||||
|
||||
bool Graphics::isPixelFormatSupported(PixelFormat format, PixelFormatUsageFlags usage, bool sRGB)
|
||||
{
|
||||
if (sRGB && format == PIXELFORMAT_RGBA8_UNORM)
|
||||
if (sRGB)
|
||||
{
|
||||
format = getSRGBPixelFormat(format);
|
||||
sRGB = false;
|
||||
|
||||
Reference in New Issue
Block a user