diff options
Diffstat (limited to 'mp/src/public/VGuiMatSurface/IMatSystemSurface.h')
| -rw-r--r-- | mp/src/public/VGuiMatSurface/IMatSystemSurface.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mp/src/public/VGuiMatSurface/IMatSystemSurface.h b/mp/src/public/VGuiMatSurface/IMatSystemSurface.h index 03ff33b0..7e9d90fe 100644 --- a/mp/src/public/VGuiMatSurface/IMatSystemSurface.h +++ b/mp/src/public/VGuiMatSurface/IMatSystemSurface.h @@ -106,9 +106,8 @@ public: // Gets a material bound to a surface texture ID virtual IMaterial *DrawGetTextureMaterial( int id ) = 0; - // The matching method is in ISurface, but we can't add anything there and remain mod-compatible. - // So this goes here instead. virtual void GetFullscreenViewportAndRenderTarget( int & x, int & y, int & w, int & h, ITexture **ppRenderTarget ) = 0; + virtual void SetFullscreenViewportAndRenderTarget( int x, int y, int w, int h, ITexture *pRenderTarget ) = 0; }; |