]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderbuffer.h
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / renderbuffer.h
index 040dad44bfdbaf896194d1c9bdf9adf579d0b768..b7320929f2f977c98fec344eee7a5ff3ded1bbc8 100644 (file)
@@ -9,7 +9,6 @@ Distributed under the LGPL
 #define MSP_GL_RENDERBUFFER_H_
 
 #include "pixelformat.h"
-#include "types.h"
 
 namespace Msp {
 namespace GL {
@@ -24,21 +23,21 @@ Requires the GL_EXT_framebuffer_object extension.
 class Renderbuffer
 {
 private:
-       uint id;
-       sizei width;
-       sizei height;
+       unsigned id;
+       unsigned width;
+       unsigned height;
 
 public:
        Renderbuffer();
        ~Renderbuffer();
 
-       uint get_id() const { return id; }
-       sizei get_width() const { return width; }
-       sizei get_height() const { return height; }
+       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, sizei width, sizei height);
+       void storage(PixelFormat fmt, unsigned width, unsigned height);
 };
 
 } // namespace GL