diff options
Diffstat (limited to 'mp/src/public/vgui')
| -rw-r--r-- | mp/src/public/vgui/ISurface.h | 2 | ||||
| -rw-r--r-- | mp/src/public/vgui/IVGui.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mp/src/public/vgui/ISurface.h b/mp/src/public/vgui/ISurface.h index 0ccc8157..6289bd59 100644 --- a/mp/src/public/vgui/ISurface.h +++ b/mp/src/public/vgui/ISurface.h @@ -387,7 +387,7 @@ public: virtual IHTMLChromeController *AccessChromeHTMLController() = 0; // the origin of the viewport on the framebuffer (Which might not be 0,0 for stereo) - virtual void SetFullscreenViewportAndRenderTarget( int x, int y, int w, int h, ITexture *pRenderTarget ) = 0; + virtual void SetFullscreenViewport( int x, int y, int w, int h ) = 0; // this uses NULL for the render target. virtual void GetFullscreenViewport( int & x, int & y, int & w, int & h ) = 0; virtual void PushFullscreenViewport() = 0; virtual void PopFullscreenViewport() = 0; diff --git a/mp/src/public/vgui/IVGui.h b/mp/src/public/vgui/IVGui.h index 18d90bd8..6a4c4371 100644 --- a/mp/src/public/vgui/IVGui.h +++ b/mp/src/public/vgui/IVGui.h @@ -99,6 +99,9 @@ public: // enables VR mode virtual void SetVRMode( bool bVRMode ) = 0; virtual bool GetVRMode() = 0; + + // add a tick signal like above, but to the head of the list of tick signals + virtual void AddTickSignalToHead( VPANEL panel, int intervalMilliseconds = 0 ) = 0; }; #define VGUI_IVGUI_INTERFACE_VERSION "VGUI_ivgui008" |