mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Improve the error message when an invalid layer or face index is given in love.graphics.setMode.
This commit is contained in:
@@ -91,7 +91,7 @@ void *CompressedImageData::getData() const
|
||||
return memory->data;
|
||||
}
|
||||
|
||||
int CompressedImageData::getMipmapCount(int /*slice*/) const
|
||||
int CompressedImageData::getMipmapCount() const
|
||||
{
|
||||
return (int) dataImages.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user