Silence some warnings
This commit is contained in:
@@ -42,7 +42,7 @@ namespace OpenVulkano::Image
|
||||
return Math::Vector2i { -1, -1 };
|
||||
}
|
||||
Math::Vector2i res = {};
|
||||
int size = 0, jpegSubsamp = 0;
|
||||
int jpegSubsamp = 0;
|
||||
int status = tjDecompressHeader2(jpegDecompressor, reinterpret_cast<unsigned char*>(image.Data()), image.Size(),
|
||||
&res.x, &res.y, &jpegSubsamp);
|
||||
if (status != 0)
|
||||
|
||||
Reference in New Issue
Block a user