mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
wined3d-Revert_Surface_Blt: 0001 update format->convert to conv_byte_count: bc75bec270bfdc09c881799b331aabf4d119a271
This commit is contained in:
parent
9f7244a1c6
commit
32b5281e4a
@ -20,7 +20,7 @@ index e90ef042323..aacdb07ad4a 100644
|
||||
+ /* We want to avoid invalidating the sysmem location for converted
|
||||
+ * surfaces, since otherwise we'd have to convert the data back when
|
||||
+ * locking them. */
|
||||
+ if (dst_texture->flags & WINED3D_TEXTURE_CONVERTED || dst_texture->resource.format->convert
|
||||
+ if (dst_texture->flags & WINED3D_TEXTURE_CONVERTED || dst_texture->resource.format->conv_byte_count
|
||||
+ || wined3d_format_get_color_key_conversion(dst_texture, TRUE))
|
||||
+ {
|
||||
+ WARN_(d3d_perf)("Converted surface, using CPU blit.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user