wined3d: Fix typo, really check whether color fixups are supported.

This commit is contained in:
Matteo Bruni 2013-04-10 01:35:41 +02:00 committed by Alexandre Julliard
parent a0c06a94aa
commit 0d563a69dd

View File

@ -1724,7 +1724,7 @@ static void apply_format_fixups(struct wined3d_adapter *adapter, struct wined3d_
for (i = 0; i < sizeof(formats) / sizeof(*formats); ++i)
{
struct wined3d_format *format = &gl_info->formats[idx];
struct wined3d_format *format = &gl_info->formats[i];
if (!(format->flags & WINED3DFMT_FLAG_TEXTURE))
continue;