mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
ImageData: limited support for integer pixel formats.
For now this doesn't support conversions (get/set/mapPixel, etc). Just the ability for ImageData to contain integer pixel contents, for example via Canvas:newImageData.
This commit is contained in:
@@ -124,7 +124,6 @@ public:
|
||||
PixelGetFunction getPixelGetFunction() const { return pixelGetFunction; }
|
||||
|
||||
static bool validPixelFormat(PixelFormat format);
|
||||
static bool canPaste(PixelFormat src, PixelFormat dst);
|
||||
|
||||
static PixelSetFunction getPixelSetFunction(PixelFormat format);
|
||||
static PixelGetFunction getPixelGetFunction(PixelFormat format);
|
||||
|
||||
Reference in New Issue
Block a user