]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/renderbuffer.h
Fix incorrect render target buffer names
[libs/gl.git] / source / core / renderbuffer.h
index aea230804173c570fda45c1c2f0f016d2231f850..84ed3f28415fa95becfc47152e9a9344b479765f 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef MSP_GL_RENDERBUFFER_H_
 #define MSP_GL_RENDERBUFFER_H_
 
-#include "bindable.h"
 #include "pixelformat.h"
 
 namespace Msp {
@@ -16,7 +15,7 @@ provide a capability for multisampling, which is not available in textures.
 Requires the GL_EXT_framebuffer_object extension.  Multisample renderbuffers
 additionally require the GL_EXT_framebuffer_multisample extension.
 */
-class Renderbuffer: public Bindable<Renderbuffer>
+class Renderbuffer
 {
 private:
        unsigned id;
@@ -36,7 +35,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
@@ -44,10 +43,6 @@ public:
        functions.*/
        void storage_multisample(unsigned samples, PixelFormat fmt, unsigned wd, unsigned ht);
 
-       void bind() const;
-
-       static void unbind();
-
        void set_debug_name(const std::string &);
 };