From f4f0b97f7cfb41d8f8655e156e0831aa15091e42 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 26 Jul 2011 14:09:12 +0000 Subject: [PATCH] Added UniformBlockReferencedByGeometryShader token to ActiveUniformBlockParameter. Fixes issue [#2616]: "ActiveUniformBlockParameter.UniformBlockReferencedByGeometryShader is missing". --- Source/Bind/Specifications/GL2/gloverrides.xml | 1 + Source/OpenTK/Graphics/OpenGL/GLEnums.cs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Source/Bind/Specifications/GL2/gloverrides.xml b/Source/Bind/Specifications/GL2/gloverrides.xml index 3597214c..bb7399c6 100644 --- a/Source/Bind/Specifications/GL2/gloverrides.xml +++ b/Source/Bind/Specifications/GL2/gloverrides.xml @@ -1230,6 +1230,7 @@ + diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index c83d77d0..96395f9f 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -236,6 +236,10 @@ namespace OpenTK.Graphics.OpenGL /// UniformBlockReferencedByVertexShader = ((int)0x8A44) , /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45 + /// + UniformBlockReferencedByGeometryShader = ((int)0x8A45) , + /// /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46 /// UniformBlockReferencedByFragmentShader = ((int)0x8A46) ,