Enable OpenGL’s debug output when the LOVE_GRAPHICS_DEBUG environment variable is ‘1’. Resolves issue #607.

This commit is contained in:
Alex Szpakowski
2014-01-27 23:30:16 -04:00
parent a2a8b14cfd
commit d70023e350
5 changed files with 157 additions and 0 deletions
+5
View File
@@ -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();