Address some compiler warnings

This commit is contained in:
Sasha Szpakowski
2023-10-21 13:55:43 -03:00
parent 5a0a6a1a27
commit 6aaf0b22bf
6 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ StrongRef<ByteData> PVRHandler::parseCompressed(Data *filedata, std::vector<Stro
PixelFormat cformat = convertFormat(pixelformat, channeltype);
if (header3.colorSpace == 1)
cformat == getSRGBPixelFormat(cformat);
cformat = getSRGBPixelFormat(cformat);
if (cformat == PIXELFORMAT_UNKNOWN)
throw love::Exception("Could not parse PVR file: unsupported image format.");