diff --git a/auto/bin/filter_gl_ext.sh b/auto/bin/filter_gl_ext.sh index ee823e1..2aa58c4 100755 --- a/auto/bin/filter_gl_ext.sh +++ b/auto/bin/filter_gl_ext.sh @@ -468,5 +468,9 @@ EOT for i in $1/GL_REGAL_*; do perl -e 's#http://www.opengl.org/registry/specs/gl/REGAL/.*#https://github.com/p3/regal/tree/master/doc/extensions#g' -pi $i; done for i in $1/GL_ANGLE_*; do perl -e 's#http://www.opengl.org/registry/specs/gl/ANGLE/.*#https://code.google.com/p/angleproject/source/browse/\#git%2Fextensions#g' -pi $i; done +# Filter out GL_NV_blend_equation_advanced_coherent enums and functions + head -n3 $1/GL_NV_blend_equation_advanced_coherent > tmp + mv tmp $1/GL_NV_blend_equation_advanced_coherent + # clean up rm -f $1/*.bak diff --git a/auto/core/gl/GL_VERSION_4_4 b/auto/core/gl/GL_VERSION_4_4 new file mode 100644 index 0000000..dfa3bf2 --- /dev/null +++ b/auto/core/gl/GL_VERSION_4_4 @@ -0,0 +1,5 @@ +GL_VERSION_4_4 +http://www.opengl.org/registry/ + + GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 + diff --git a/auto/src/glew_init_gl.c b/auto/src/glew_init_gl.c index 5f9bf65..39efd2c 100644 --- a/auto/src/glew_init_gl.c +++ b/auto/src/glew_init_gl.c @@ -44,7 +44,8 @@ GLenum GLEWAPIENTRY glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST) } else { - CONST_CAST(GLEW_VERSION_4_3) = ( major > 4 ) || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE; + CONST_CAST(GLEW_VERSION_4_4) = ( major > 4 ) || ( major == 4 && minor >= 4 ) ? GL_TRUE : GL_FALSE; + CONST_CAST(GLEW_VERSION_4_3) = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE; CONST_CAST(GLEW_VERSION_4_2) = GLEW_VERSION_4_3 == GL_TRUE || ( major == 4 && minor >= 2 ) ? GL_TRUE : GL_FALSE; CONST_CAST(GLEW_VERSION_4_1) = GLEW_VERSION_4_2 == GL_TRUE || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE; CONST_CAST(GLEW_VERSION_4_0) = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE;