mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
wined3d: Fix typo, really check whether color fixups are supported.
This commit is contained in:
parent
a0c06a94aa
commit
0d563a69dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user