wined3d: Clear texture flag from correct format when color fixup is not supported.

Signed-off-by: Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Kimmo Myllyvirta 2016-10-10 09:29:07 +03:00 committed by Alexandre Julliard
parent 9fb1205635
commit a6911a13b8
1 changed files with 1 additions and 1 deletions

View File

@ -3245,7 +3245,7 @@ static void apply_format_fixups(struct wined3d_adapter *adapter, struct wined3d_
if (!adapter->shader_backend->shader_color_fixup_supported(format->color_fixup)
|| !adapter->fragment_pipe->color_fixup_supported(format->color_fixup))
format_clear_flag(&gl_info->formats[idx], WINED3DFMT_FLAG_TEXTURE);
format_clear_flag(format, WINED3DFMT_FLAG_TEXTURE);
}
/* GL_EXT_texture_compression_s3tc does not support 3D textures. Some Windows drivers