From cd0e8b074117cec31a156081651cdeb6d5724331 Mon Sep 17 00:00:00 2001 From: fuel-pcbox Date: Thu, 24 Apr 2025 07:15:27 -0500 Subject: [PATCH] More build fixes --- src/video/nv/nv3/classes/nv3_class_003_chroma_key.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video/nv/nv3/classes/nv3_class_003_chroma_key.c b/src/video/nv/nv3/classes/nv3_class_003_chroma_key.c index 139099e78..f19a06932 100644 --- a/src/video/nv/nv3/classes/nv3_class_003_chroma_key.c +++ b/src/video/nv/nv3/classes/nv3_class_003_chroma_key.c @@ -38,12 +38,14 @@ void nv3_class_003_method(uint32_t param, uint32_t method_id, nv3_ramin_context_ break; case NV3_CHROMA_KEY: + { nv3_color_expanded_t expanded_color = nv3_render_expand_color(param, grobj); nv3->pgraph.chroma_key = nv3_render_to_chroma(expanded_color); nv_log("Method Execution: Chroma = 0x%08x", nv3->pgraph.chroma_key); - break; + break; + } default: warning("%s: Invalid or unimplemented method 0x%04x\n", nv3_class_names[context.class_id & 0x1F], method_id); nv3_pgraph_interrupt_invalid(NV3_PGRAPH_INTR_1_SOFTWARE_METHOD_PENDING);