]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture.h
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / texture.h
index 21edb81a74ae53ac67d0c18dff005709c048c431..848517eb45c99da20a67c8261ed81488b7902ea3 100644 (file)
@@ -11,7 +11,6 @@ Distributed under the LGPL
 #include <istream>
 #include <msp/datafile/objectloader.h>
 #include "gl.h"
-#include "types.h"
 
 namespace Msp {
 namespace GL {
@@ -56,12 +55,12 @@ public:
        void set_min_filter(TextureFilter f) { parameter(GL_TEXTURE_MIN_FILTER, f); }
        void set_mag_filter(TextureFilter f) { parameter(GL_TEXTURE_MAG_FILTER, f); }
        GLenum get_target() const            { return target; }
-       uint  get_id() const                 { return id; }
+       unsigned  get_id() const                 { return id; }
 
        static void unbind();
        static void unbind_from(unsigned);
 protected:
-       uint   id;
+       unsigned   id;
        GLenum target;
 
        Texture();