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)
|
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;
|
||||||
|
|
Loading…
Reference in New Issue