mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Fix a crash in Image:replacePixels when a different ImageData is given than the one that created the Image.
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
void uploadByteData(PixelFormat pixelformat, const void *data, size_t size, const Rect &rect, int level, int slice) override;
|
||||
void uploadByteData(PixelFormat pixelformat, const void *data, size_t size, int level, int slice, const Rect &r) override;
|
||||
void generateMipmaps() override;
|
||||
|
||||
void loadDefaultTexture();
|
||||
|
||||
Reference in New Issue
Block a user