Add FIXME about possible bug with CLEAR

This commit is contained in:
Jannik Vogel 2015-08-07 19:44:16 +02:00
parent 68d0bcde6f
commit 609a4cf423
1 changed files with 2 additions and 0 deletions

View File

@ -3379,6 +3379,7 @@ static bool pgraph_zeta_write_enabled(PGRAPHState *pg)
static void pgraph_set_surface_dirty(PGRAPHState *pg, bool color, bool zeta)
{
/* FIXME: Does this apply to CLEARs too? */
color = color && pgraph_color_write_enabled(pg);
zeta = zeta && pgraph_zeta_write_enabled(pg);
pg->surface_color.draw_dirty |= color;
@ -3397,6 +3398,7 @@ static void pgraph_update_surface(NV2AState *d,
pgraph_get_surface_dimensions(pg, &width, &height);
pgraph_apply_anti_aliasing_factor(pg, &width, &height);
/* FIXME: Does this apply to CLEARs too? */
color = color && pgraph_color_write_enabled(pg);
zeta = zeta && pgraph_zeta_write_enabled(pg);