Added missing TextureBuffer token to BufferTarget and TextureTarget enums (promoted from ARB_texture_buffer_object). Fixes issue [#1313]: "TextureBuffer target".

This commit is contained in:
the_fiddler 2009-11-03 10:33:24 +00:00
parent a333532d69
commit 26b969b23e
2 changed files with 11 additions and 0 deletions

View file

@ -7794,6 +7794,15 @@ GetPName enum:
ErrorCode enum:
INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506
# ARB_texture_buffer_object tokens
# Sections 2.9, 3.8.5 and 3.8.14 of the 3.2 specs.
# See also http://www.opentk.com/node/1313
BufferTarget enum:
TEXTURE_BUFFER = 0x8C2A
TextureTarget enum:
TEXTURE_BUFFER = 0x8C2A
# Version 3.2

View file

@ -5304,6 +5304,7 @@ namespace OpenTK.Graphics.OpenGL
PixelPackBuffer = ((int)0x88EB),
PixelUnpackBuffer = ((int)0x88EC),
UniformBuffer = ((int)0x8A11),
TextureBuffer = ((int)0x8C2A),
TransformFeedbackBuffer = ((int)0x8C8E),
CopyReadBuffer = ((int)0x8F36),
CopyWriteBuffer = ((int)0x8F37),
@ -10454,6 +10455,7 @@ namespace OpenTK.Graphics.OpenGL
ProxyTexture1DArray = ((int)0x8C19),
Texture2DArray = ((int)0x8C1A),
ProxyTexture2DArray = ((int)0x8C1B),
TextureBuffer = ((int)0x8C2A),
Texture2DMultisample = ((int)0x9100),
Texture2DMultisampleArray = ((int)0x9102),
}