Improve the error message when an invalid layer or face index is given in love.graphics.setMode.

This commit is contained in:
Alex Szpakowski
2018-01-14 19:15:24 -04:00
parent 4d5c4ef807
commit 39201af79f
8 changed files with 76 additions and 58 deletions
+1 -1
View File
@@ -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();
}