From 03e6c23f8141c5a1723c8acee00a46a15b0777be Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 25 Sep 2019 19:33:11 +0300 Subject: [PATCH] Require ARB_shader_objects in Shader constructor --- source/shader.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.45.2