Made Nsight wrapper win32 only.

This commit is contained in:
Anthony J. Thibault 2016-03-22 17:43:36 -07:00
parent 209524a5c0
commit c40b70688c

View file

@ -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