mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix encoding ImageData to 16 bit per color channel PNG.
--HG-- branch : minor
This commit is contained in:
@@ -156,6 +156,7 @@ love::filesystem::FileData *ImageData::encode(EncodedFormat encodedFormat, const
|
||||
rawimage.height = height;
|
||||
rawimage.size = getSize();
|
||||
rawimage.data = data;
|
||||
rawimage.format = format;
|
||||
|
||||
for (FormatHandler *handler : formatHandlers)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user