]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderbuffer.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / renderbuffer.h
diff --git a/source/renderbuffer.h b/source/renderbuffer.h
deleted file mode 100644 (file)
index b732092..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef MSP_GL_RENDERBUFFER_H_
-#define MSP_GL_RENDERBUFFER_H_
-
-#include "pixelformat.h"
-
-namespace Msp {
-namespace GL {
-
-/**
-A Renderbuffer contains a single renderable image.  It can be attached to a
-Framebuffer to provide a logical buffer that is required to render the scene
-correctly but that is not needed as a texture later.
-
-Requires the GL_EXT_framebuffer_object extension.
-*/
-class Renderbuffer
-{
-private:
-       unsigned id;
-       unsigned width;
-       unsigned height;
-
-public:
-       Renderbuffer();
-       ~Renderbuffer();
-
-       unsigned get_id() const { return id; }
-       unsigned get_width() const { return width; }
-       unsigned get_height() const { return height; }
-
-       void bind() const;
-
-       void storage(PixelFormat fmt, unsigned width, unsigned height);
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif