X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshader.cpp;h=d1938ba702fd0c629133e7e588ffebc816fa6d92;hb=41391cd21cf35e979c1d2c88019b7425123500be;hp=0c356f5f460826f7e97877881d15f35ba3db36f0;hpb=daf256f6dd858420233e73bf128abb3ae5801e5b;p=libs%2Fgl.git diff --git a/source/shader.cpp b/source/shader.cpp index 0c356f5f..d1938ba7 100644 --- a/source/shader.cpp +++ b/source/shader.cpp @@ -27,6 +27,7 @@ Shader::Shader(GLenum t, const string &src) void Shader::init(GLenum t) { + static Require _req_base(ARB_shader_objects); compiled = false; if(t==GL_FRAGMENT_SHADER)