]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/renderbuffer.h
Store implementation limits in a central struct
[libs/gl.git] / source / core / renderbuffer.h
index afc6ed204298a7bbcfe02d6c95a87af83c6a1bba..4462e31c12ce348ecb381eb546e98637cb75ebd6 100644 (file)
@@ -36,7 +36,7 @@ public:
 
        /** Returns the maximum supported sample count for multisampling.  If
        multisampling is not supported, returns 0. */
-       static unsigned get_max_samples();
+       DEPRECATED static unsigned get_max_samples();
 
        /** Allocates multisample storage for the renderbuffer.  All attachments in
        a framebuffer must have the same number of samples.  To transfer the
@@ -47,6 +47,8 @@ public:
        void bind() const;
 
        static void unbind();
+
+       void set_debug_name(const std::string &);
 };
 
 } // namespace GL