mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
nv2a: Only sync blit source surface if dirty
This commit is contained in:
committed by
mborgerson
parent
76b26b13fc
commit
eb87feae2c
@@ -791,7 +791,7 @@ static void pgraph_image_blit(NV2AState *d)
|
||||
|
||||
SurfaceBinding *surf_src = pgraph_surface_get(d, source_addr);
|
||||
if (surf_src) {
|
||||
pgraph_download_surface_data(d, surf_src, true);
|
||||
pgraph_download_surface_data_if_dirty(d, surf_src);
|
||||
}
|
||||
|
||||
SurfaceBinding *surf_dest = pgraph_surface_get(d, dest_addr);
|
||||
|
||||
Reference in New Issue
Block a user