]> git.tdb.fi Git - gldbg.git/blobdiff - flavors/gl/source/bufferstate.cpp
Track uniform buffer bindings
[gldbg.git] / flavors / gl / source / bufferstate.cpp
index 5060e15e21fa2a359080be9dfbf64c305c789cf4..e48d221df6458375335dd7a29e9c2f81d1e72550 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of gldbg
-Copyright © 2009-2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the GPL
-*/
-
 #include "arraysize.h"
 #include "arraystate.h"
 #include "bufferstate.h"
@@ -175,3 +168,10 @@ string BufferState::describe() const
        else
                return strformat("%d bytes, %s", size, describe_enum(usage, ""));
 }
+
+
+BufferBindingState::BufferBindingState():
+       buffer(0),
+       offset(0),
+       size(0)
+{ }