From 306891b98cd77927060dd2208e9f274e646c9241 Mon Sep 17 00:00:00 2001 From: Erik Abair Date: Fri, 29 Apr 2022 06:26:36 -0700 Subject: [PATCH] nv2a: Disable stderr print on image_blit when GL debugging is enabled --- hw/xbox/nv2a/pgraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xbox/nv2a/pgraph.c b/hw/xbox/nv2a/pgraph.c index 2c978acd12..e877ad4962 100644 --- a/hw/xbox/nv2a/pgraph.c +++ b/hw/xbox/nv2a/pgraph.c @@ -896,14 +896,14 @@ static void pgraph_image_blit(NV2AState *d) uint8_t *dest_row = dest + dest_offset; if (image_blit->operation == NV09F_SET_OPERATION_SRCCOPY) { - NV2A_GL_DPRINTF(true, "NV09F_SET_OPERATION_SRCCOPY"); + NV2A_GL_DPRINTF(false, "NV09F_SET_OPERATION_SRCCOPY"); for (unsigned int y = 0; y < image_blit->height; y++) { memmove(dest_row, source_row, image_blit->width * bytes_per_pixel); source_row += context_surfaces->source_pitch; dest_row += context_surfaces->dest_pitch; } } else if (image_blit->operation == NV09F_SET_OPERATION_BLEND_AND) { - NV2A_GL_DPRINTF(true, "NV09F_SET_OPERATION_BLEND_AND"); + NV2A_GL_DPRINTF(false, "NV09F_SET_OPERATION_BLEND_AND"); uint32_t max_beta_mult = 0x7f80; uint32_t beta_mult = beta->beta >> 16; uint32_t inv_beta_mult = max_beta_mult - beta_mult;