mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Made the getSize() and getData() methods for CompressedData consistent with each other. Note that CompressedData's data may not all be contiguous in memory, so getData(miplevel) and getSize(miplevel) should always be used instead.
--HG-- branch : image-CompressedData
This commit is contained in:
@@ -70,7 +70,9 @@ public:
|
||||
CompressedData();
|
||||
virtual ~CompressedData();
|
||||
|
||||
// Implements Data.
|
||||
// Implements Data. Note that data for different mipmap levels is not always
|
||||
// stored contiguously in memory, so getData() and getSize() don't make
|
||||
// much sense. Use getData(miplevel) and getSize(mipleveL) instead.
|
||||
virtual void *getData() const;
|
||||
virtual int getSize() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user