nv2a: Mark surface buffers dirty on DMA update

This commit is contained in:
Matt Borgerson 2022-01-08 18:19:05 -07:00 committed by mborgerson
parent d0fd0cb3e4
commit 1871699c2e
1 changed files with 2 additions and 0 deletions

View File

@ -1186,11 +1186,13 @@ DEF_METHOD(NV097, SET_CONTEXT_DMA_COLOR)
pgraph_update_surface(d, false, true, true);
pg->dma_color = parameter;
pg->surface_color.buffer_dirty = true;
}
DEF_METHOD(NV097, SET_CONTEXT_DMA_ZETA)
{
pg->dma_zeta = parameter;
pg->surface_zeta.buffer_dirty = true;
}
DEF_METHOD(NV097, SET_CONTEXT_DMA_VERTEX_A)