From 175117cebad7d36075bb9547a887f52cb3c00e52 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 29 Mar 2009 14:28:44 +0000 Subject: [PATCH] Updated tokens for ARB_vertex_array_object (issue [#595]). --- Source/Bind/Specifications/GL2/enumext.spec | 5 ++++- Source/OpenTK/Graphics/GL/GLEnums.cs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Bind/Specifications/GL2/enumext.spec b/Source/Bind/Specifications/GL2/enumext.spec index 4271846b..abf864f7 100644 --- a/Source/Bind/Specifications/GL2/enumext.spec +++ b/Source/Bind/Specifications/GL2/enumext.spec @@ -726,7 +726,7 @@ passthru: /* Reuse tokens from ARB_texture_rg */ # use ARB_texture_rg RG32I # use ARB_texture_rg RG32UI passthru: /* Reuse tokens from ARB_vertex_array_object */ - use ARB_vertex_array_object VERTEX_ARRAY_BINDING +# use ARB_vertex_array_object VERTEX_ARRAY_BINDING ############################################################################### @@ -6414,5 +6414,8 @@ FogPointerType enum: TexCoordPointerType enum: use ARB_half_float_vertex HALF_FLOAT +# Promoted from ARB_vertex_array_objects +GetPName enum: + use ARB_vertex_array_object VERTEX_ARRAY_BINDING # End (don't remove, or the last token may be missed!) diff --git a/Source/OpenTK/Graphics/GL/GLEnums.cs b/Source/OpenTK/Graphics/GL/GLEnums.cs index 410a6308..47dd5b36 100644 --- a/Source/OpenTK/Graphics/GL/GLEnums.cs +++ b/Source/OpenTK/Graphics/GL/GLEnums.cs @@ -984,6 +984,7 @@ namespace OpenTK.Graphics MaxCubeMapTextureSize = ((int)0X851c), PackSubsampleRateSgix = ((int)0X85a0), UnpackSubsampleRateSgix = ((int)0X85a1), + VertexArrayBinding = ((int)0X85b5), NumCompressedTextureFormats = ((int)0X86a2), CompressedTextureFormats = ((int)0X86a3), StencilBackFunc = ((int)0X8800), @@ -6369,7 +6370,6 @@ namespace OpenTK.Graphics ContextFlags = ((int)0X821e), DepthBuffer = ((int)0X8223), StencilBuffer = ((int)0X8224), - VertexArrayBinding = ((int)0X85b5), VertexAttribArrayInteger = ((int)0X88fd), MinProgramTexelOffset = ((int)0X8904), MaxProgramTexelOffset = ((int)0X8905),