From fa2cdee5efa98df96b98f4a9b10b3aca3fc17b62 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 16 Nov 2009 15:00:24 +0000 Subject: [PATCH] Removed invalid BGRA token from VertexAttribPointerType. --- Source/Bind/Specifications/GL2/enumext.spec | 12 +++++++----- Source/OpenTK/Graphics/OpenGL/GLEnums.cs | 2 -- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Bind/Specifications/GL2/enumext.spec b/Source/Bind/Specifications/GL2/enumext.spec index ce94eab6..8db0a713 100644 --- a/Source/Bind/Specifications/GL2/enumext.spec +++ b/Source/Bind/Specifications/GL2/enumext.spec @@ -7906,12 +7906,14 @@ GetPName enum: # ARB_vertex_array_bgra tokens # http://www.opengl.org/registry/specs/ARB/vertex_array_bgra.txt +# The following tokens are incorrect. They are valid for the +# parameteter, not the parameter - but is not an enum! +# (Maybe something changed between the ARB spec and its core version?) +#ColorPointerType enum: +# BGRA = 0x80E1 -ColorPointerType enum: - BGRA = 0x80E1 - -VertexAttribPointerType enum: - BGRA = 0x80E1 +#VertexAttribPointerType enum: +# BGRA = 0x80E1 # ARB_seamless_cube_map tokens # http://www.opengl.org/registry/specs/ARB/seamless_cube_map.txt diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index 67badec1..014e1c07 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -5418,7 +5418,6 @@ namespace OpenTK.Graphics.OpenGL Float = ((int)0x1406), Double = ((int)0x140A), HalfFloat = ((int)0x140B), - Bgra = ((int)0x80E1), } public enum ColorTableParameterPName : int @@ -11928,7 +11927,6 @@ namespace OpenTK.Graphics.OpenGL Float = ((int)0x1406), Double = ((int)0x140A), HalfFloat = ((int)0x140B), - Bgra = ((int)0x80E1), } public enum VertexAttribPointerTypeArb : int