From 6dcb354854c62bc369e1e0b1d17a3ee1a6f0374f Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 3 Feb 2010 20:17:02 +0000 Subject: [PATCH] Added missing TEXTURE_LOD_BIAS token to TextureParameterName. Fixes issue [#1531]: "TextureParameterName enum missing TEXTURE_LOD_BIAS element". --- Source/Bind/Specifications/GL2/enumext.spec | 4 ++++ Source/OpenTK/Graphics/OpenGL/GLEnums.cs | 1 + 2 files changed, 5 insertions(+) diff --git a/Source/Bind/Specifications/GL2/enumext.spec b/Source/Bind/Specifications/GL2/enumext.spec index a01d03c2..9b75267b 100644 --- a/Source/Bind/Specifications/GL2/enumext.spec +++ b/Source/Bind/Specifications/GL2/enumext.spec @@ -7992,5 +7992,9 @@ VertexAttribI_PointerType enum: use DataType INT use DataType UNSIGNED_INT +# See OpenGL 3.2 reference card +TextureParameterName enum: + TEXTURE_LOD_BIAS = 0x8501 + # End (don't remove, or the last token may be removed!) diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index 64e23c80..962062e9 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -10456,6 +10456,7 @@ namespace OpenTK.Graphics.OpenGL TextureMaxClampSSgix = ((int)0x8369), TextureMaxClampTSgix = ((int)0x836A), TextureMaxClampRSgix = ((int)0x836B), + TextureLodBias = ((int)0x8501), DepthTextureMode = ((int)0x884B), TextureCompareMode = ((int)0x884C), TextureCompareFunc = ((int)0x884D),