X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture.h;h=848517eb45c99da20a67c8261ed81488b7902ea3;hp=21edb81a74ae53ac67d0c18dff005709c048c431;hb=ceae2a27dfc58310c5bab7e3aa3fedf0fa9a1f49;hpb=8f2430208cfa7bb9dc5bd655dde88acc21db54d2 diff --git a/source/texture.h b/source/texture.h index 21edb81a..848517eb 100644 --- a/source/texture.h +++ b/source/texture.h @@ -11,7 +11,6 @@ Distributed under the LGPL #include #include #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();