mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Enable OpenGL’s debug output when the LOVE_GRAPHICS_DEBUG environment variable is ‘1’. Resolves issue #607.
This commit is contained in:
@@ -230,6 +230,11 @@ public:
|
||||
**/
|
||||
Vendor getVendor() const;
|
||||
|
||||
// Get human-readable strings for debug info.
|
||||
static const char *debugSeverityString(GLenum severity);
|
||||
static const char *debugSourceString(GLenum source);
|
||||
static const char *debugTypeString(GLenum type);
|
||||
|
||||
private:
|
||||
|
||||
void initVendor();
|
||||
|
||||
Reference in New Issue
Block a user