- changed code to cleanup pixbuf allocation earlier to not confuse gDEbugger about an openGL memory leak.

This commit is contained in:
SoftCoder
2014-01-11 23:28:33 -08:00
parent 9ea0debc51
commit 3425d4c248
3 changed files with 20 additions and 1 deletions

View File

@@ -292,8 +292,11 @@ public:
static int getUsedColorIDListSize() { return (int)usedColorIDList.size(); }
static void cleanupPBO();
private:
static int bufferSizeRequired;
unsigned char uniqueColorID[COLOR_COMPONENTS];
static unsigned char nextColorID[COLOR_COMPONENTS];