From 04cc9238f6158c53da42dc51e056ccbe8af8d951 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Thu, 10 Jul 2008 15:09:29 +0000 Subject: [PATCH] Added missing tokens to BlendEquationSrc/Dest enums. --- Source/Bind/Specifications/GL2/enum.spec | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/Source/Bind/Specifications/GL2/enum.spec b/Source/Bind/Specifications/GL2/enum.spec index 73f6fa93..1d7203af 100644 --- a/Source/Bind/Specifications/GL2/enum.spec +++ b/Source/Bind/Specifications/GL2/enum.spec @@ -290,15 +290,18 @@ AlphaFunction enum: ############################################################################### +# Edited for OpenTK BlendingFactorDest enum: ZERO = 0 - ONE = 1 + ONE = 1 SRC_COLOR = 0x0300 - ONE_MINUS_SRC_COLOR = 0x0301 + ONE_MINUS_SRC_COLOR = 0x0301 + DST_COLOR = 0x0306 + ONE_MINUS_DST_COLOR = 0x0307 SRC_ALPHA = 0x0302 - ONE_MINUS_SRC_ALPHA = 0x0303 + ONE_MINUS_SRC_ALPHA = 0x0303 DST_ALPHA = 0x0304 - ONE_MINUS_DST_ALPHA = 0x0305 + ONE_MINUS_DST_ALPHA = 0x0305 use EXT_blend_color CONSTANT_COLOR_EXT use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT use EXT_blend_color CONSTANT_ALPHA_EXT @@ -306,16 +309,19 @@ BlendingFactorDest enum: ############################################################################### +# Edited for OpenTK BlendingFactorSrc enum: use BlendingFactorDest ZERO use BlendingFactorDest ONE - DST_COLOR = 0x0306 - ONE_MINUS_DST_COLOR = 0x0307 - SRC_ALPHA_SATURATE = 0x0308 + use BlendingFactorDest SRC_COLOR + use BlendingFactorDest ONE_MINUS_SRC_COLOR + use BlendingFactorDest DST_COLOR + use BlendingFactorDest ONE_MINUS_DST_COLOR use BlendingFactorDest SRC_ALPHA use BlendingFactorDest ONE_MINUS_SRC_ALPHA use BlendingFactorDest DST_ALPHA use BlendingFactorDest ONE_MINUS_DST_ALPHA + SRC_ALPHA_SATURATE = 0x0308 use EXT_blend_color CONSTANT_COLOR_EXT use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT use EXT_blend_color CONSTANT_ALPHA_EXT