-/* $Id$
-
-This file is part of gldbg
-Copyright © 2010-2011 Mikko Rasa, Mikkosoft Productions
-Distributed under the GPL
-*/
-
#include <stdexcept>
#include <cstdio>
#include <ctime>
decoder->glXSwapBuffers = glXSwapBuffers;
}
+Profiler::~Profiler()
+{
+ gldecoder_delete(decoder);
+}
+
void Profiler::decode(const char *data, unsigned len)
{
if(enabled)