X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshader.h;h=cd01f2acda49a8c3374bc97c356263bccb653b91;hb=b8b06a0ff96763ba7e188d9fcacbd8c0e3dcd515;hp=43d03ce109cd61343099db8c5b9a11df6c27d398;hpb=3f285d3f4fd0a6790bf1efa780284dc7ba2287a2;p=libs%2Fgl.git diff --git a/source/shader.h b/source/shader.h index 43d03ce1..cd01f2ac 100644 --- a/source/shader.h +++ b/source/shader.h @@ -9,7 +9,7 @@ Distributed under the LGPL #define MSP_GL_SHADER_H_ #include -#include +#include "gl.h" #include "types.h" namespace Msp { @@ -31,7 +31,7 @@ public: void source(sizei count, const char **str, const int *len); void source(const std::string &str); void source(const char *str, int len); - bool compile(); + void compile(); uint get_id() const { return id; } bool get_compiled() const { return compiled; } int get_param(GLenum param) const;