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
+2
View File
@@ -115,6 +115,8 @@ public:
virtual bool setMode(int width, int height);
virtual void unSetMode();
void setDebug(bool enable);
/**
* Resets the current color, background color,
* line style, and so forth. (This will be called