Commit 1d17176a authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Add ARB_internalformat_query2 GL extension.

parent f3593602
...@@ -108,6 +108,7 @@ static const struct wined3d_extension_map gl_extension_map[] = ...@@ -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_pixel", ARB_HALF_FLOAT_PIXEL },
{"GL_ARB_half_float_vertex", ARB_HALF_FLOAT_VERTEX }, {"GL_ARB_half_float_vertex", ARB_HALF_FLOAT_VERTEX },
{"GL_ARB_instanced_arrays", ARB_INSTANCED_ARRAYS, }, {"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_alignment", ARB_MAP_BUFFER_ALIGNMENT },
{"GL_ARB_map_buffer_range", ARB_MAP_BUFFER_RANGE }, {"GL_ARB_map_buffer_range", ARB_MAP_BUFFER_RANGE },
{"GL_ARB_multisample", ARB_MULTISAMPLE }, /* needs GLX_ARB_MULTISAMPLE as well */ {"GL_ARB_multisample", ARB_MULTISAMPLE }, /* needs GLX_ARB_MULTISAMPLE as well */
......
...@@ -59,6 +59,7 @@ enum wined3d_gl_extension ...@@ -59,6 +59,7 @@ enum wined3d_gl_extension
ARB_HALF_FLOAT_PIXEL, ARB_HALF_FLOAT_PIXEL,
ARB_HALF_FLOAT_VERTEX, ARB_HALF_FLOAT_VERTEX,
ARB_INSTANCED_ARRAYS, ARB_INSTANCED_ARRAYS,
ARB_INTERNALFORMAT_QUERY2,
ARB_MAP_BUFFER_ALIGNMENT, ARB_MAP_BUFFER_ALIGNMENT,
ARB_MAP_BUFFER_RANGE, ARB_MAP_BUFFER_RANGE,
ARB_MULTISAMPLE, ARB_MULTISAMPLE,
...@@ -223,6 +224,10 @@ enum wined3d_gl_extension ...@@ -223,6 +224,10 @@ enum wined3d_gl_extension
USE_GL_FUNC(glProgramParameteriARB) \ USE_GL_FUNC(glProgramParameteriARB) \
/* GL_ARB_instanced_arrays */ \ /* GL_ARB_instanced_arrays */ \
USE_GL_FUNC(glVertexAttribDivisorARB) \ 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 */ \ /* GL_ARB_map_buffer_range */ \
USE_GL_FUNC(glFlushMappedBufferRange) \ USE_GL_FUNC(glFlushMappedBufferRange) \
USE_GL_FUNC(glMapBufferRange) \ USE_GL_FUNC(glMapBufferRange) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment