From: Mikko Rasa Date: Wed, 25 Sep 2019 16:33:11 +0000 (+0300) Subject: Require ARB_shader_objects in Shader constructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=03e6c23f8141c5a1723c8acee00a46a15b0777be;p=libs%2Fgl.git Require ARB_shader_objects in Shader constructor --- 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)