X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshader.h;h=06f769ccb94d8d66b7025fecfcc3de70688a8f10;hb=927a1aa0a3a27e463ec0efc08bd08e7c4e969909;hp=dfa5af3b5c18da91ed15fd062b32f7d5f8568ff0;hpb=85e83ace47e5a9a8ae7263886255dd81afc69278;p=libs%2Fgl.git diff --git a/source/shader.h b/source/shader.h index dfa5af3b..06f769cc 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 { @@ -26,6 +26,9 @@ class Shader public: Shader(ShaderType t); Shader(ShaderType t, const std::string &); +private: + void init(ShaderType); +public: ~Shader(); void source(sizei count, const char **str, const int *len);