wined3d: Don't unnecessarily fallback to immediate mode for FFP draws with the PSIZE attribute.

This commit is contained in:
Matteo Bruni 2015-07-28 23:14:37 +02:00 committed by Alexandre Julliard
parent 68e2503965
commit a064797e0f
1 changed files with 1 additions and 1 deletions

View File

@ -2983,7 +2983,7 @@ static void context_update_stream_info(struct wined3d_context *context, const st
}
else
{
WORD slow_mask = (1 << WINED3D_FFP_PSIZE);
WORD slow_mask = -!d3d_info->ffp_generic_attributes & (1 << WINED3D_FFP_PSIZE);
slow_mask |= -!gl_info->supported[ARB_VERTEX_ARRAY_BGRA]
& ((1 << WINED3D_FFP_DIFFUSE) | (1 << WINED3D_FFP_SPECULAR));