mirror of
https://github.com/DrBeef/QuakeQuest.git
synced 2024-11-21 19:51:13 +00:00
Update TBXR_Common.c
This commit is contained in:
parent
a4c79755e9
commit
732bfd13ea
1 changed files with 8 additions and 7 deletions
|
@ -1518,7 +1518,8 @@ void TBXR_InitRenderer( ) {
|
|||
gAppState.Projections[eye].type = XR_TYPE_VIEW;
|
||||
}
|
||||
|
||||
#ifdef PICO_XR
|
||||
if (strstr(gAppState.OpenXRHMD, "pico") != NULL)
|
||||
{
|
||||
xrGetInstanceProcAddr(gAppState.Instance,"xrSetConfigPICO", (PFN_xrVoidFunction*)(&pfnXrSetConfigPICO));
|
||||
xrGetInstanceProcAddr(gAppState.Instance,"xrGetConfigPICO", (PFN_xrVoidFunction*)(&pfnXrGetConfigPICO));
|
||||
|
||||
|
@ -1526,7 +1527,7 @@ void TBXR_InitRenderer( ) {
|
|||
pfnXrSetConfigPICO(gAppState.Session,TRACKING_ORIGIN,"1");
|
||||
|
||||
pfnXrGetConfigPICO(gAppState.Session, GET_DISPLAY_RATE, &gAppState.currentDisplayRefreshRate);
|
||||
#endif
|
||||
}
|
||||
|
||||
ovrRenderer_Create(
|
||||
gAppState.Session,
|
||||
|
|
Loading…
Reference in a new issue