]> git.tdb.fi Git - libs/gl.git/blobdiff - source/buffer.h
Present Mesh's index buffer as current while the Mesh is bound
[libs/gl.git] / source / buffer.h
index bfbfd14891ff024a7d509198710deffa439e73f7..a7d4c2ba4314f8cbbc9db9fb6c2422cf0e85da2c 100644 (file)
@@ -89,7 +89,7 @@ public:
        /** Unbinds the buffer from its default slot. */
        void unbind() const { unbind_from(type); }
 
-       static const Buffer *current(BufferType t) { return binding(t); }
+       static const Buffer *current(BufferType);
        static void unbind_from(BufferType);
 private:
        static const Buffer *&binding(BufferType);