From cb1f53d6b5464e52a0ca55b258336a3b098ff1d2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 16 Oct 2004 20:34:21 +0000 Subject: [PATCH] unprotect CreateScreenshot --- stepmania/src/RageDisplay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay.h b/stepmania/src/RageDisplay.h index 6caaf161b4..695cb8c893 100644 --- a/stepmania/src/RageDisplay.h +++ b/stepmania/src/RageDisplay.h @@ -245,6 +245,7 @@ public: bool SaveScreenshot( CString sPath, GraphicsFileFormat format ); virtual CString GetTextureDiagnostics( unsigned id ) const { return ""; } + virtual RageSurface* CreateScreenshot() = 0; // allocates a surface. Caller must delete it. protected: virtual void DrawQuadsInternal( const RageSpriteVertex v[], int iNumVerts ) = 0; @@ -260,7 +261,6 @@ protected: // bNewDeviceOut is set true if a new device was created and textures // need to be reloaded. virtual CString TryVideoMode( VideoModeParams params, bool &bNewDeviceOut ) = 0; - virtual RageSurface* CreateScreenshot() = 0; // allocates a surface. Caller must delete it. virtual void SetViewport(int shift_left, int shift_down) = 0;