X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuffer.h;h=a7d4c2ba4314f8cbbc9db9fb6c2422cf0e85da2c;hb=b30209f7d9c984ee03df779446fa4ad5f9334865;hp=bfbfd14891ff024a7d509198710deffa439e73f7;hpb=1d24ddbc35f9e0480d30c66d47b7ea3834c15fbf;p=libs%2Fgl.git diff --git a/source/buffer.h b/source/buffer.h index bfbfd148..a7d4c2ba 100644 --- a/source/buffer.h +++ b/source/buffer.h @@ -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);