work on basic VR
This commit is contained in:
@@ -101,7 +101,7 @@ extern "C" void FunnyMain( int argc, char **argv )
|
||||
pWindow->SetAxisCallback(CallAxisEvent);
|
||||
|
||||
g_pRenderContext = (IRenderContext*)pRenderSystemFactory(RENDER_CONTEXT_INTERFACE_VERSION, NULL);
|
||||
g_pRenderContext->SetMainWindowManager(g_pWindowManager);
|
||||
g_pRenderContext->ConnectInterface(g_pWindowManager, GAME_WINDOW_MANAGER_INTERFACE_VERSION);
|
||||
g_pRenderContext->Init();
|
||||
|
||||
g_pRenderContext->RegisterGameWindow(pWindow);
|
||||
|
||||
Reference in New Issue
Block a user