]> git.tdb.fi Git - libs/gl.git/blobdiff - source/buffer.h
Don't store ProgramData in Lighting
[libs/gl.git] / source / buffer.h
index 4f9f32943df58e420848832d2d298914c74676e4..a7d4c2ba4314f8cbbc9db9fb6c2422cf0e85da2c 100644 (file)
@@ -89,12 +89,11 @@ 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);
        static bool set_current(BufferType, const Buffer *);
-       static void restore(const Buffer *, BufferType);
 };