Commit 5cb85f3b authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Add ARB_texture_swizzle extension.

parent 565ef4f9
......@@ -156,6 +156,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
{"GL_ARB_texture_rectangle", ARB_TEXTURE_RECTANGLE },
{"GL_ARB_texture_rg", ARB_TEXTURE_RG },
{"GL_ARB_texture_rgb10_a2ui", ARB_TEXTURE_RGB10_A2UI },
{"GL_ARB_texture_swizzle", ARB_TEXTURE_SWIZZLE },
{"GL_ARB_timer_query", ARB_TIMER_QUERY },
{"GL_ARB_uniform_buffer_object", ARB_UNIFORM_BUFFER_OBJECT },
{"GL_ARB_vertex_array_bgra", ARB_VERTEX_ARRAY_BGRA },
......@@ -3473,6 +3474,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter, DWORD
{ARB_SAMPLER_OBJECTS, MAKEDWORD_VERSION(3, 3)},
{ARB_SHADER_BIT_ENCODING, MAKEDWORD_VERSION(3, 3)},
{ARB_TEXTURE_RGB10_A2UI, MAKEDWORD_VERSION(3, 3)},
{ARB_TEXTURE_SWIZZLE, MAKEDWORD_VERSION(3, 3)},
{ARB_TIMER_QUERY, MAKEDWORD_VERSION(3, 3)},
{ARB_ES2_COMPATIBILITY, MAKEDWORD_VERSION(4, 1)},
......
......@@ -92,6 +92,7 @@ enum wined3d_gl_extension
ARB_TEXTURE_RECTANGLE,
ARB_TEXTURE_RG,
ARB_TEXTURE_RGB10_A2UI,
ARB_TEXTURE_SWIZZLE,
ARB_TIMER_QUERY,
ARB_UNIFORM_BUFFER_OBJECT,
ARB_VERTEX_ARRAY_BGRA,
......
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