Added missing TextureEnvMode.Replace token. Fixes issue [#2791]: "TextureEnvMode.Replace missing".

This commit is contained in:
the_fiddler 2011-12-06 21:49:43 +00:00
parent bf90e156f3
commit e2d31c78cb
2 changed files with 5 additions and 0 deletions

View file

@ -2617,6 +2617,7 @@
</enum> </enum>
<enum name="TextureEnvMode"> <enum name="TextureEnvMode">
<token name="COMBINE" value="0x8570" /> <token name="COMBINE" value="0x8570" />
<token name="REPLACE" value="0x1E01" />
</enum> </enum>
<enum name="TextureEnvModeCombine"> <enum name="TextureEnvModeCombine">
<use enum="StencilOp" token="REPLACE" /> <use enum="StencilOp" token="REPLACE" />

View file

@ -44572,6 +44572,10 @@ namespace OpenTK.Graphics.OpenGL
/// </summary> /// </summary>
Blend = ((int)0x0BE2) , Blend = ((int)0x0BE2) ,
/// <summary> /// <summary>
/// Original was GL_REPLACE = 0x1E01
/// </summary>
Replace = ((int)0x1E01) ,
/// <summary>
/// Original was GL_MODULATE = 0x2100 /// Original was GL_MODULATE = 0x2100
/// </summary> /// </summary>
Modulate = ((int)0x2100) , Modulate = ((int)0x2100) ,