nv2a: Download surface before blit

This commit is contained in:
Matt Borgerson 2020-10-18 00:18:01 -07:00 committed by mborgerson
parent 79989a0e3f
commit 6a2f6b3637
1 changed files with 2 additions and 0 deletions
hw/xbox/nv2a

View File

@ -617,6 +617,8 @@ void pgraph_method(NV2AState *d,
NV2A_GL_DPRINTF(true, "NV09F_SET_OPERATION_SRCCOPY");
pgraph_update_surface(d, false, true, true);
ContextSurfaces2DState *context_surfaces = context_surfaces_2d;
assert(context_surfaces->object_instance
== image_blit->context_surfaces);