From: Mikko Rasa Date: Wed, 26 Oct 2016 18:42:38 +0000 (+0300) Subject: Use ARB_geometry_shader4 rather than the EXT version X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=daf256f6dd858420233e73bf128abb3ae5801e5b;p=libs%2Fgl.git Use ARB_geometry_shader4 rather than the EXT version The ARB version is what actually got promoted. --- diff --git a/extensions/arb_geometry_shader4.glext b/extensions/arb_geometry_shader4.glext new file mode 100644 index 00000000..04cfbb3b --- /dev/null +++ b/extensions/arb_geometry_shader4.glext @@ -0,0 +1,2 @@ +extension ARB_geometry_shader4 +backport none diff --git a/extensions/ext_geometry_shader4.glext b/extensions/ext_geometry_shader4.glext deleted file mode 100644 index 210b9bdb..00000000 --- a/extensions/ext_geometry_shader4.glext +++ /dev/null @@ -1,2 +0,0 @@ -extension EXT_geometry_shader4 -backport none diff --git a/gl.fixes.xml b/gl.fixes.xml index 8edc3731..954785a6 100644 --- a/gl.fixes.xml +++ b/gl.fixes.xml @@ -77,6 +77,9 @@ + + + diff --git a/source/shader.cpp b/source/shader.cpp index b620641e..0c356f5f 100644 --- a/source/shader.cpp +++ b/source/shader.cpp @@ -1,7 +1,7 @@ #include +#include #include #include -#include #include #include "error.h" #include "misc.h" @@ -34,7 +34,7 @@ void Shader::init(GLenum t) else if(t==GL_VERTEX_SHADER) static Require _req(ARB_vertex_shader); else if(t==GL_GEOMETRY_SHADER) - static Require _req(EXT_geometry_shader4); + static Require _req(ARB_geometry_shader4); id = glCreateShader(t); }