mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-22 09:40:46 +00:00
Fixed Optick related compile warnings on Linux #750
This commit is contained in:
parent
0ac23b5f94
commit
784c46ebc7
2 changed files with 5 additions and 6 deletions
|
@ -106,9 +106,7 @@ const int MAX_EXPRESSION_REGISTERS = 4096;
|
|||
#endif
|
||||
|
||||
// RB: make Optick profiling available everywhere
|
||||
#if defined( USE_OPTICK )
|
||||
#include "../libs/optick/optick.h"
|
||||
#endif
|
||||
#include "../libs/optick/optick.h"
|
||||
|
||||
#include "../renderer/Cinematic.h"
|
||||
#include "../renderer/Material.h"
|
||||
|
|
|
@ -33,9 +33,10 @@
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// MASTER SWITCH - use it for disabling profiler in final builds //
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#if !defined(USE_OPTICK)
|
||||
#define USE_OPTICK (1)
|
||||
#endif
|
||||
// RB: only set this through CMakeLists.txt
|
||||
//#if !defined(USE_OPTICK)
|
||||
//#define USE_OPTICK (1)
|
||||
//#endif
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue