mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
NUM_FRAME_DATA cleanup
This commit is contained in:
parent
dc27b0dd40
commit
2ad666adcf
1 changed files with 2 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue