mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-07 04:26:22 +00:00
nv2a: Process pending surface uploads before render to texture
This commit is contained in:
parent
496a7b7099
commit
aec2883c6b
@ -6327,7 +6327,11 @@ static void pgraph_bind_textures(NV2AState *d)
|
||||
SurfaceBinding *surface = pgraph_surface_get(d, texture_vram_offset);
|
||||
if (surface != NULL) {
|
||||
surf_to_tex = pgraph_check_surface_to_texture_compatibility(
|
||||
surface, &state);
|
||||
surface, &state);
|
||||
|
||||
if (surf_to_tex && surface->upload_pending) {
|
||||
pgraph_upload_surface_data(d, surface, false);
|
||||
}
|
||||
}
|
||||
|
||||
if (!surf_to_tex) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user