From f8777b7e1c8edf614038fdaad9cc653d8c2bd26e Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 1 Jan 2008 20:51:58 +0000 Subject: [PATCH] Updated TextureParameterName and TextureCompareMode enums (Version14 additions) --- Source/Bind/Specifications/GL2/enumext.spec | 30 +++++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/Source/Bind/Specifications/GL2/enumext.spec b/Source/Bind/Specifications/GL2/enumext.spec index 326909be..b9edcdef 100644 --- a/Source/Bind/Specifications/GL2/enumext.spec +++ b/Source/Bind/Specifications/GL2/enumext.spec @@ -277,7 +277,7 @@ VERSION_1_4 enum: # DEPTH_COMPONENT16 = 0x81A5 # PixelInternalFormat # DEPTH_COMPONENT24 = 0x81A6 # PixelInternalFormat # DEPTH_COMPONENT32 = 0x81A7 # PixelInternalFormat - MIRRORED_REPEAT = 0x8370 +# MIRRORED_REPEAT = 0x8370 FOG_COORDINATE_SOURCE = 0x8450 # 1 I FOG_COORDINATE = 0x8451 FRAGMENT_DEPTH = 0x8452 @@ -300,12 +300,11 @@ VERSION_1_4 enum: DECR_WRAP = 0x8508 # TEXTURE_DEPTH_SIZE = 0x884A # DEPTH_TEXTURE_MODE = 0x884B - TEXTURE_COMPARE_MODE = 0x884C - TEXTURE_COMPARE_FUNC = 0x884D - COMPARE_R_TO_TEXTURE = 0x884E +# TEXTURE_COMPARE_MODE = 0x884C +# TEXTURE_COMPARE_FUNC = 0x884D +# COMPARE_R_TO_TEXTURE = 0x884E # Depth Texture - PixelInternalFormat enum: use PixelFormat DEPTH_COMPONENT DEPTH_COMPONENT16 = 0x81a5 @@ -318,6 +317,27 @@ GetTextureParameter enum: TextureParameterName enum: DEPTH_TEXTURE_MODE = 0x884B + +# Texture Wrap Mode +TextureWrapMode enum: + MIRRORED_REPEAT = 0x8370 + +# Shadow (http://opengl.org/registry/specs/ARB/shadow.txt) +TextureParameterName enum: + TEXTURE_COMPARE_MODE = 0x884C + TEXTURE_COMPARE_FUNC = 0x884D + +GetTextureParameter enum: + TEXTURE_COMPARE_MODE = 0x884C + TEXTURE_COMPARE_FUNC = 0x884D + +TextureCompareMode enum: + COMPARE_R_TO_TEXTURE = 0x884E + +# Shadow Ambient (http://opengl.org/registry/specs/ARB/shadow_ambient.txt) +TextureParameterName enum: + TEXTURE_COMPARE_FAIL_VALUE = 0x80BF + ###############################################################################