X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshader.h;h=86a70be0e10eb5716b2b296d17e7998c6a8c9e1a;hb=5172d32d67595ea0b70184fadcfcb8e023cccbc8;hp=06f769ccb94d8d66b7025fecfcc3de70688a8f10;hpb=dc1d1159a61f378bda11e5989ad694a86b9a3c77;p=libs%2Fgl.git diff --git a/source/shader.h b/source/shader.h index 06f769cc..86a70be0 100644 --- a/source/shader.h +++ b/source/shader.h @@ -10,7 +10,6 @@ Distributed under the LGPL #include #include "gl.h" -#include "types.h" namespace Msp { namespace GL { @@ -31,16 +30,16 @@ private: public: ~Shader(); - void source(sizei count, const char **str, const int *len); + void source(unsigned count, const char **str, const int *len); void source(const std::string &str); void source(const char *str, int len); void compile(); - uint get_id() const { return id; } + unsigned get_id() const { return id; } bool get_compiled() const { return compiled; } int get_param(GLenum param) const; std::string get_info_log() const; private: - uint id; + unsigned id; bool compiled; };