From e16ea21dc8a710237ade8413207f58d403c616a3 Mon Sep 17 00:00:00 2001 From: Joe Ludwig Date: Wed, 17 Jul 2013 18:26:59 -0700 Subject: * Added support for building shaders in your mod * Added nav mesh support * fixed many warnings and misc bugs * Fixed the create*projects scripts in mp * Added a bunch of stuff to .gitignore --- mp/src/game/client/cdll_client_int.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mp/src/game/client/cdll_client_int.cpp') diff --git a/mp/src/game/client/cdll_client_int.cpp b/mp/src/game/client/cdll_client_int.cpp index 0e96b11c..c8f7f40b 100644 --- a/mp/src/game/client/cdll_client_int.cpp +++ b/mp/src/game/client/cdll_client_int.cpp @@ -104,6 +104,7 @@ #include "replay/vgui/replayperformanceeditor.h" #endif #include "vgui/ILocalize.h" +#include "vgui/IVGui.h" #include "ixboxsystem.h" #include "ipresence.h" #include "engine/imatchmaking.h" @@ -982,6 +983,8 @@ int CHLClient::Init( CreateInterfaceFn appSystemFactory, CreateInterfaceFn physi g_pSourceVR->GetViewportBounds( ISourceVirtualReality::VREye_Left, NULL, NULL, &nViewportWidth, &nViewportHeight ); vgui::surface()->SetFullscreenViewport( 0, 0, nViewportWidth, nViewportHeight ); + + vgui::ivgui()->SetVRMode( true ); } if (!Initializer::InitializeAllObjects()) -- cgit v1.2.3