mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
Made Nsight wrapper win32 only.
This commit is contained in:
parent
209524a5c0
commit
c40b70688c
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
#ifndef hifi_gl_NsightHelpers_h
|
||||
#define hifi_gl_NsightHelpers_h
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <stdint.h>
|
||||
|
||||
class ProfileRange {
|
||||
|
@ -20,5 +21,9 @@ public:
|
|||
|
||||
#define PROFILE_RANGE(name) ProfileRange profileRangeThis(name);
|
||||
#define PROFILE_RANGE_EX(name, argbColor, payload) ProfileRange profileRangeThis(name, argbColor, payload);
|
||||
#else
|
||||
#define PROFILE_RANGE(name)
|
||||
#define PROFILE_RANGE_EX(name, argbColor, payload)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue