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
+2
View File
@@ -120,6 +120,8 @@ public:
bool isReadable() const;
bool isValidSlice(int slice) const;
int getWidth(int mip = 0) const;
int getHeight(int mip = 0) const;
int getDepth(int mip = 0) const;