X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fshader.h;fp=source%2Fcore%2Fshader.h;h=e02aa84a8c597095a989a9e0999f4c317865b341;hb=dccad64b2ec82249d850b9745614042171499972;hp=bab11a7e9603e8bcc32652427b20ade4e7796267;hpb=ede0bc3f5c7124ef100576ad4b0890c9cd13c79d;p=libs%2Fgl.git diff --git a/source/core/shader.h b/source/core/shader.h index bab11a7e..e02aa84a 100644 --- a/source/core/shader.h +++ b/source/core/shader.h @@ -1,6 +1,7 @@ #ifndef MSP_GL_SHADER_H_ #define MSP_GL_SHADER_H_ +#include #include #include "gl.h" @@ -32,9 +33,10 @@ public: void source(const char *str, int len); void compile(); unsigned get_id() const { return id; } + unsigned steal_id(); bool is_compiled() const { return compiled; } std::string get_info_log() const; -}; +} DEPRECATED; class VertexShader: public Shader