]> git.tdb.fi Git - libs/gl.git/blobdiff - source/buffer.cpp
Move some declarations around a bit
[libs/gl.git] / source / buffer.cpp
index fbb1e159ee564df8b2d7816e459adda6312cfc20..e033871f45ea818f2376ebf41166210cf3715a14 100644 (file)
@@ -8,6 +8,8 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
+const Buffer *Buffer::bound[4] = { 0, 0, 0, 0 };
+
 Buffer::Buffer(BufferType t):
        type(t),
        usage(STATIC_DRAW)
@@ -88,7 +90,5 @@ void Buffer::restore(const Buffer *buf, BufferType type)
        }
 }
 
-const Buffer *Buffer::bound[4] = { 0, 0, 0, 0 };
-
 } // namespace GL
 } // namespace Msp