From 921944ce909b341bded35427165816d9d9f73cd3 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 26 Jul 2011 12:35:50 +0000 Subject: [PATCH] Added ColorWritemask to GetIndexedPName. Fixes issue [#2509]: "Missing GetIndexedPName.ColorWritemask as GetBoolean parameter". --- 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 9e7a7efe..3597214c 100644 --- a/Source/Bind/Specifications/GL2/gloverrides.xml +++ b/Source/Bind/Specifications/GL2/gloverrides.xml @@ -1819,6 +1819,7 @@ + diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index cad97c78..c83d77d0 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -31000,6 +31000,10 @@ namespace OpenTK.Graphics.OpenGL /// ScissorBox = ((int)0x0C10) , /// + /// Original was GL_COLOR_WRITEMASK = 0x0C23 + /// + ColorWritemask = ((int)0x0C23) , + /// /// Original was GL_UNIFORM_BUFFER_BINDING = 0x8A28 /// UniformBufferBinding = ((int)0x8A28) ,