Skip to content

Commit

Permalink
Fixed an issue from visual studio
Browse files Browse the repository at this point in the history
  • Loading branch information
Wunder-Wulfe committed Mar 29, 2022
1 parent 8d467f1 commit e9c381e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions CServerDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ enum class TRACKER_ROLE;
enum class INTERP_MODE;
struct Proportions;


enum class BINDING : uint
{
NONE = 0b0,
Expand Down Expand Up @@ -56,22 +57,21 @@ class CServerDriver final : public vr::IServerTrackedDeviceProvider
std::thread m_camThread;

// vr::IServerTrackedDeviceProvider
vr::EVRInitError Init(vr::IVRDriverContext *pDriverContext);
void Cleanup();
const char *const *GetInterfaceVersions();
void RunFrame();
bool ShouldBlockStandbyMode();
void EnterStandby();
void LeaveStandby();
vr::EVRInitError Init(vr::IVRDriverContext *pDriverContext) override;
void Cleanup() override;
const char *const *GetInterfaceVersions() override;
void RunFrame() override;
bool ShouldBlockStandbyMode() override;
void EnterStandby() override;
void LeaveStandby() override;

CServerDriver(const CServerDriver &that) = delete;
CServerDriver &operator=(const CServerDriver &that) = delete;

static bool TrackerUpdate(CVirtualBodyTracker &tracker, const CNvSDKInterface &inter, const Proportions &props);
void SetupTracker(const char *name, TRACKING_FLAG flag, TRACKER_ROLE role);
void SetupTracker(const char *name, TRACKING_FLAG flag, TRACKER_ROLE role, TRACKER_ROLE secondary);

static bool TrackerUpdate(CVirtualBodyTracker &tracker, const CNvSDKInterface &inter, const Proportions &props);

inline void LoadRefreshRate() { m_refreshRateCache = vr::VRSettings()->GetFloat("driver_nvidiaBodyTracking", "displayFrequency"); }

void ProcessEvent(const vr::VREvent_t &evnt);
Expand Down

0 comments on commit e9c381e

Please sign in to comment.