From 8f8b520c7881859d12eba7461bb985993a3fb670 Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Wed, 24 Jul 2024 22:55:32 +0200 Subject: [PATCH] vc4: fix typo in simulator conditional declaration Fixes: f1f8c465d5e ("vc4,v3d,v3dv: avoid compiling in unused `sim_file` field in the {vc4,v3d}_screen/v3dv_physical_device struct") Reviewed-by: Eric Engestrom Signed-off-by: Juan A. Suarez Romero Part-of: --- src/gallium/drivers/vc4/vc4_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h index 407aa3cac27..50284177150 100644 --- a/src/gallium/drivers/vc4/vc4_screen.h +++ b/src/gallium/drivers/vc4/vc4_screen.h @@ -105,7 +105,7 @@ struct vc4_screen { bool has_perfmon_ioctl; bool has_syncobj; -#if USE_V3D_SIMULATOR +#ifdef USE_VC4_SIMULATOR struct vc4_simulator_file *sim_file; #endif };