X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshader.cpp;h=d1938ba702fd0c629133e7e588ffebc816fa6d92;hb=03e6c23f8141c5a1723c8acee00a46a15b0777be;hp=0c356f5f460826f7e97877881d15f35ba3db36f0;hpb=57d4f63b65aa8801f11e860ad18c9b9054134104;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)