wined3d: Handle GL_EXT_vertex_array_bgra directly in gl_extension_map.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a8f37cf684
commit
61937c3103
|
@ -205,7 +205,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
|
|||
{"GL_EXT_texture_sRGB", EXT_TEXTURE_SRGB },
|
||||
{"GL_EXT_texture_sRGB_decode", EXT_TEXTURE_SRGB_DECODE },
|
||||
{"GL_EXT_texture_swizzle", ARB_TEXTURE_SWIZZLE },
|
||||
{"GL_EXT_vertex_array_bgra", EXT_VERTEX_ARRAY_BGRA },
|
||||
{"GL_EXT_vertex_array_bgra", ARB_VERTEX_ARRAY_BGRA },
|
||||
|
||||
/* NV */
|
||||
{"GL_NV_fence", NV_FENCE },
|
||||
|
@ -3530,11 +3530,6 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter,
|
|||
TRACE(" IMPLIED: NVIDIA (NV) Texture Gen Reflection support.\n");
|
||||
gl_info->supported[NV_TEXGEN_REFLECTION] = TRUE;
|
||||
}
|
||||
if (!gl_info->supported[ARB_VERTEX_ARRAY_BGRA] && gl_info->supported[EXT_VERTEX_ARRAY_BGRA])
|
||||
{
|
||||
TRACE(" IMPLIED: ARB_vertex_array_bgra support (by EXT_vertex_array_bgra).\n");
|
||||
gl_info->supported[ARB_VERTEX_ARRAY_BGRA] = TRUE;
|
||||
}
|
||||
if (!gl_info->supported[EXT_TEXTURE_COMPRESSION_RGTC] && gl_info->supported[ARB_TEXTURE_COMPRESSION_RGTC])
|
||||
{
|
||||
TRACE(" IMPLIED: EXT_texture_compression_rgtc support (by ARB_texture_compression_rgtc).\n");
|
||||
|
|
|
@ -186,7 +186,6 @@ enum wined3d_gl_extension
|
|||
EXT_TEXTURE_SNORM,
|
||||
EXT_TEXTURE_SRGB,
|
||||
EXT_TEXTURE_SRGB_DECODE,
|
||||
EXT_VERTEX_ARRAY_BGRA,
|
||||
/* NVIDIA */
|
||||
NV_FENCE,
|
||||
NV_FOG_DISTANCE,
|
||||
|
|
Loading…
Reference in New Issue