Fixed ClearTex[Sub]Image <type> parameter

As per bug #1006 on the public Khronos bugzilla, <type> corresponds to the PixelType accepted by TexImage3D. This is now fixed.
This commit is contained in:
Stefanos A 2013-10-24 08:57:25 +02:00
parent 640c75be2d
commit af9d6dd928
2 changed files with 2 additions and 66 deletions

View file

@ -1210,7 +1210,7 @@
<type>PixelFormat</type>
</param>
<param name="type">
<type>TexImageTarget</type>
<type>PixelType</type>
</param>
</function>
@ -1219,7 +1219,7 @@
<type>PixelFormat</type>
</param>
<param name="type">
<type>TexImageTarget</type>
<type>PixelType</type>
</param>
</function>
@ -3505,19 +3505,6 @@
<use token="SYNC_CONDITION" />
<use token="SYNC_FLAGS" />
</enum>
<enum name="TexImageTarget">
<use name="VERSION_1_1" token="TEXTURE_1D" />
<use name="VERSION_1_1" token="TEXTURE_2D" />
<use name="VERSION_1_2" token="TEXTURE_3D" />
<use name="VERSION_3_0" token="TEXTURE_1D_ARRAY" />
<use name="VERSION_3_0" token="TEXTURE_2D_ARRAY" />
<use name="VERSION_3_2" token="TEXTURE_2D_MULTISAMPLE" />
<use name="VERSION_3_2" token="TEXTURE_2D_MULTISAMPLE_ARRAY" />
<use name="VERSION_3_1" token="TEXTURE_BUFFER" />
<use name="VERSION_3_1" token="TEXTURE_RECTANGLE" />
<use name="VERSION_1_3" token="TEXTURE_CUBE_MAP" />
<use name="VERSION_4_0" token="TEXTURE_CUBE_MAP_ARRAY" />
</enum>
<enum name="TextureAccess">
<use enum="VERSION_1_5" token="READ_ONLY" />
<use enum="VERSION_1_5" token="WRITE_ONLY" />

View file

@ -52402,57 +52402,6 @@ namespace OpenTK.Graphics.OpenGL
Int2101010Rev = ((int)0x8D9F) ,
}
/// <summary>
/// Not used directly.
/// </summary>
public enum TexImageTarget : int
{
/// <summary>
/// Original was GL_TEXTURE_1D = 0x0DE0
/// </summary>
Texture1D = ((int)0x0DE0) ,
/// <summary>
/// Original was GL_TEXTURE_2D = 0x0DE1
/// </summary>
Texture2D = ((int)0x0DE1) ,
/// <summary>
/// Original was GL_TEXTURE_3D = 0x806F
/// </summary>
Texture3D = ((int)0x806F) ,
/// <summary>
/// Original was GL_TEXTURE_RECTANGLE = 0x84F5
/// </summary>
TextureRectangle = ((int)0x84F5) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP = 0x8513
/// </summary>
TextureCubeMap = ((int)0x8513) ,
/// <summary>
/// Original was GL_TEXTURE_1D_ARRAY = 0x8C18
/// </summary>
Texture1DArray = ((int)0x8C18) ,
/// <summary>
/// Original was GL_TEXTURE_2D_ARRAY = 0x8C1A
/// </summary>
Texture2DArray = ((int)0x8C1A) ,
/// <summary>
/// Original was GL_TEXTURE_BUFFER = 0x8C2A
/// </summary>
TextureBuffer = ((int)0x8C2A) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_ARRAY = 0x9009
/// </summary>
TextureCubeMapArray = ((int)0x9009) ,
/// <summary>
/// Original was GL_TEXTURE_2D_MULTISAMPLE = 0x9100
/// </summary>
Texture2DMultisample = ((int)0x9100) ,
/// <summary>
/// Original was GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102
/// </summary>
Texture2DMultisampleArray = ((int)0x9102) ,
}
/// <summary>
/// Used in GL.BindImageTexture
/// </summary>