mirror of https://github.com/xemu-project/xemu.git
nv2a: Only sync blit source surface if dirty
This commit is contained in:
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);
|
||||
|
|
Loading…
Reference in New Issue