X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogram.h;h=af506fe8c57b1128a5354e1515c20059bcccdb1e;hb=b617c5d7b5283ad260a77f01e42e6170cabbc03d;hp=818e72be1174d4a0464bc91b5a691d8f54efd602;hpb=927a1aa0a3a27e463ec0efc08bd08e7c4e969909;p=libs%2Fgl.git diff --git a/source/program.h b/source/program.h index 818e72be..af506fe8 100644 --- a/source/program.h +++ b/source/program.h @@ -12,7 +12,6 @@ Distributed under the LGPL #include #include #include "gl.h" -#include "types.h" namespace Msp { namespace GL { @@ -22,7 +21,7 @@ class Shader; class Program { private: - uint id; + unsigned id; std::list shaders; bool del_shaders; bool linked; @@ -38,7 +37,7 @@ public: private: void vertex_shader(const std::string &); void fragment_shader(const std::string &); - void attribute(uint, const std::string &); + void attribute(unsigned, const std::string &); virtual void finish(); }; @@ -53,7 +52,7 @@ public: void detach_shader(Shader &shader); const std::list &get_shaders() const { return shaders; } void set_del_shaders(bool); - void bind_attribute(uint, const std::string &); + void bind_attribute(unsigned, const std::string &); void link(); int get_param(GLenum param) const; bool get_linked() const { return linked; }