Commit 0d563a69 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

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

parent a0c06a94
...@@ -1724,7 +1724,7 @@ static void apply_format_fixups(struct wined3d_adapter *adapter, struct wined3d_ ...@@ -1724,7 +1724,7 @@ static void apply_format_fixups(struct wined3d_adapter *adapter, struct wined3d_
for (i = 0; i < sizeof(formats) / sizeof(*formats); ++i) 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)) if (!(format->flags & WINED3DFMT_FLAG_TEXTURE))
continue; continue;
......
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