mirror of
https://github.com/love2d/love.git
synced 2026-08-20 20:49:54 +02:00
Use a more descriptive error message if love.graphics.newImage fails because the OpenGL texture can't be created.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user