diff options
Diffstat (limited to 'mp/src/public/VGuiMatSurface/IMatSystemSurface.h')
| -rw-r--r-- | mp/src/public/VGuiMatSurface/IMatSystemSurface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mp/src/public/VGuiMatSurface/IMatSystemSurface.h b/mp/src/public/VGuiMatSurface/IMatSystemSurface.h index ddc73e69..03ff33b0 100644 --- a/mp/src/public/VGuiMatSurface/IMatSystemSurface.h +++ b/mp/src/public/VGuiMatSurface/IMatSystemSurface.h @@ -105,6 +105,10 @@ 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; }; |