Permalink
Browse files

Added UniformBlockReferencedByGeometryShader token to ActiveUniformBl…

…ockParameter. Fixes issue [#2616]: "ActiveUniformBlockParameter.UniformBlockReferencedByGeometryShader is missing".

git-svn-id: https://opentk.svn.sourceforge.net/svnroot/opentk/trunk@3078 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
  • Loading branch information...
1 parent acf2eb9 commit 2dabb63194866c94e34156e2495ee3a5793f83fc the_fiddler committed Jul 26, 2011
Showing with 5 additions and 0 deletions.
  1. +1 −0 Source/Bind/Specifications/GL2/gloverrides.xml
  2. +4 −0 Source/OpenTK/Graphics/OpenGL/GLEnums.cs
@@ -1230,6 +1230,7 @@
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_ACTIVE_UNIFORMS" />
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES" />
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER" />
+ <use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER" />
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER" />
<use enum="VERSION_4_0" token="UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER" />
<use enum="VERSION_4_0" token="UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER" />
@@ -236,6 +236,10 @@ public enum ActiveUniformBlockParameter : int
/// </summary>
UniformBlockReferencedByVertexShader = ((int)0x8A44) ,
/// <summary>
+ /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45
+ /// </summary>
+ UniformBlockReferencedByGeometryShader = ((int)0x8A45) ,
+ /// <summary>
/// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46
/// </summary>
UniformBlockReferencedByFragmentShader = ((int)0x8A46) ,

0 comments on commit 2dabb63

Please sign in to comment.