From 609a4cf423218aeab06ffdcfaf9084482a58e77c Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Fri, 7 Aug 2015 19:44:16 +0200 Subject: [PATCH] Add FIXME about possible bug with CLEAR --- hw/xbox/nv2a.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xbox/nv2a.c b/hw/xbox/nv2a.c index 3e606c8d7d..e69c415f69 100644 --- a/hw/xbox/nv2a.c +++ b/hw/xbox/nv2a.c @@ -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);