mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 12:12:36 +02:00
Don't reserve additional thread when we're not using one
This commit is contained in:
parent
e7355e84f3
commit
857f5a69d6
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue