Update TBXR_Common.c

This commit is contained in:
Simon 2023-02-05 19:44:11 +00:00
parent a4c79755e9
commit 732bfd13ea

View file

@ -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,