From 2ad666adcff9d6a56616d10f90ff1c47265adc97 Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Mon, 6 Mar 2023 20:31:54 +0100 Subject: [PATCH] NUM_FRAME_DATA cleanup --- neo/idlib/precompiled.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/neo/idlib/precompiled.h b/neo/idlib/precompiled.h index 759fe278..328dcb93 100644 --- a/neo/idlib/precompiled.h +++ b/neo/idlib/precompiled.h @@ -90,13 +90,8 @@ const int MAX_EXPRESSION_REGISTERS = 4096; // everything that is needed by the backend needs // to be double buffered to allow it to run in // parallel on a dual cpu machine -#if ( defined(__APPLE__) && defined( USE_VULKAN ) ) || defined( USE_NVRHI ) - // SRS - macOS MoltenVK/Metal needs triple buffering for full screen to work properly - // SRS - use triple buffering for NVRHI with command queue event query sync method - const uint32 NUM_FRAME_DATA = 3; -#else - const uint32 NUM_FRAME_DATA = 2; -#endif +// SRS - use triple buffering for NVRHI with command queue event query sync method +const uint32 NUM_FRAME_DATA = 3; #if defined( USE_NVRHI ) #include "nvrhi/nvrhi.h"