Use a more descriptive error message if love.graphics.newImage fails because the OpenGL texture can't be created.

This commit is contained in:
Alex Szpakowski
2015-10-15 14:42:57 -03:00
parent d587c206f0
commit 890802c0a3
3 changed files with 35 additions and 2 deletions
+2
View File
@@ -339,6 +339,8 @@ public:
**/
Vendor getVendor() const;
static const char *errorString(GLenum errorcode);
// Get human-readable strings for debug info.
static const char *debugSeverityString(GLenum severity);
static const char *debugSourceString(GLenum source);