mirror of
https://github.com/DrBeef/Quake2Quest.git
synced 2024-11-10 06:41:53 +00:00
Ensure Quest 2 STAYS at 90hz
VrApi was unnecessarily reducing it to 72hz!
This commit is contained in:
parent
34f50517d9
commit
f39d4ebde2
1 changed files with 5 additions and 5 deletions
|
@ -1432,11 +1432,6 @@ void * AppThreadFunction( void * parm )
|
|||
|
||||
chdir("/sdcard");
|
||||
|
||||
//Set 90hz mode for Quest 2
|
||||
if (vrapi_GetSystemPropertyInt(&java, VRAPI_SYS_PROP_DEVICE_TYPE) == VRAPI_DEVICE_TYPE_OCULUSQUEST2) {
|
||||
vrapi_SetDisplayRefreshRate(appState.Ovr, 90);
|
||||
}
|
||||
|
||||
for ( bool destroyed = false; destroyed == false; )
|
||||
{
|
||||
for ( ; ; )
|
||||
|
@ -1592,6 +1587,11 @@ void * AppThreadFunction( void * parm )
|
|||
}
|
||||
#endif
|
||||
|
||||
//Set 90hz mode for Quest 2
|
||||
if (vrapi_GetSystemPropertyInt(&java, VRAPI_SYS_PROP_DEVICE_TYPE) == VRAPI_DEVICE_TYPE_OCULUSQUEST2) {
|
||||
vrapi_SetDisplayRefreshRate(appState.Ovr, 90);
|
||||
}
|
||||
|
||||
// Get the HMD pose, predicted for the middle of the time period during which
|
||||
// the new eye images will be displayed. The number of frames predicted ahead
|
||||
// depends on the pipeline depth of the engine and the synthesis rate.
|
||||
|
|
Loading…
Reference in a new issue