wined3d: Add ARB_internalformat_query2 GL extension.

This commit is contained in:
Matteo Bruni 2013-04-19 19:06:12 +02:00 committed by Alexandre Julliard
parent f359360228
commit 1d17176a0d
2 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
{"GL_ARB_half_float_pixel", ARB_HALF_FLOAT_PIXEL },
{"GL_ARB_half_float_vertex", ARB_HALF_FLOAT_VERTEX },
{"GL_ARB_instanced_arrays", ARB_INSTANCED_ARRAYS, },
{"GL_ARB_internalformat_query2", ARB_INTERNALFORMAT_QUERY2, },
{"GL_ARB_map_buffer_alignment", ARB_MAP_BUFFER_ALIGNMENT },
{"GL_ARB_map_buffer_range", ARB_MAP_BUFFER_RANGE },
{"GL_ARB_multisample", ARB_MULTISAMPLE }, /* needs GLX_ARB_MULTISAMPLE as well */

View File

@ -59,6 +59,7 @@ enum wined3d_gl_extension
ARB_HALF_FLOAT_PIXEL,
ARB_HALF_FLOAT_VERTEX,
ARB_INSTANCED_ARRAYS,
ARB_INTERNALFORMAT_QUERY2,
ARB_MAP_BUFFER_ALIGNMENT,
ARB_MAP_BUFFER_RANGE,
ARB_MULTISAMPLE,
@ -223,6 +224,10 @@ enum wined3d_gl_extension
USE_GL_FUNC(glProgramParameteriARB) \
/* GL_ARB_instanced_arrays */ \
USE_GL_FUNC(glVertexAttribDivisorARB) \
/* GL_ARB_internalformat_query */ \
USE_GL_FUNC(glGetInternalformativ) \
/* GL_ARB_internalformat_query2 */ \
USE_GL_FUNC(glGetInternalformati64v) \
/* GL_ARB_map_buffer_range */ \
USE_GL_FUNC(glFlushMappedBufferRange) \
USE_GL_FUNC(glMapBufferRange) \