X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fshader.h;h=e02aa84a8c597095a989a9e0999f4c317865b341;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=bab11a7e9603e8bcc32652427b20ade4e7796267;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;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