X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fbuffer.h;h=ad3084298c55e74e0cfb4296bab53a556c5cceae;hb=2d3113a7dbbe4be2f1d1e8980c1c4e42175163da;hp=47cab8cd5646e2c3842f641bd31dcb4c418aaf6f;hpb=a061bbfa87391ddea42c6220c1e17054d5b6b0c8;p=libs%2Fgl.git diff --git a/source/core/buffer.h b/source/core/buffer.h index 47cab8cd..ad308429 100644 --- a/source/core/buffer.h +++ b/source/core/buffer.h @@ -130,6 +130,9 @@ public: private: static const Buffer *&binding(BufferType); static bool set_current(BufferType, const Buffer *); + +public: + void set_debug_name(const std::string &); }; @@ -160,8 +163,8 @@ private: static bool set_current(BufferType, unsigned, const BufferRange *); public: - static unsigned get_n_uniform_buffer_bindings(); - static unsigned get_uniform_buffer_alignment(); + DEPRECATED static unsigned get_n_uniform_buffer_bindings(); + DEPRECATED static unsigned get_uniform_buffer_alignment(); }; } // namespace GL