mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-29 12:24:58 +00:00
Fix surface reuse
This commit is contained in:
parent
f981e05908
commit
bca833dad7
@ -445,9 +445,8 @@ namespace rsx
|
||||
|
||||
if (Traits::surface_matches_properties(surface, format, width, height, antialias))
|
||||
{
|
||||
if (old_surface)
|
||||
if (!pitch_compatible)
|
||||
{
|
||||
ensure(!pitch_compatible);
|
||||
Traits::invalidate_surface_contents(command_list, Traits::get(surface), address, pitch);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user