Don't reserve additional thread when we're not using one

This commit is contained in:
Brad Davis 2016-10-25 22:10:50 -07:00
parent e7355e84f3
commit 857f5a69d6

View file

@ -58,8 +58,10 @@ public:
void unsuppressKeyboard() override;
bool isKeyboardVisible() override;
#if OPENVR_THREADED_SUBMIT
// Needs an additional thread for VR submission
int getRequiredThreadCount() const override { return Parent::getRequiredThreadCount() + 1; }
#endif
protected:
bool internalActivate() override;