diff --git a/stepmania/src/RageDisplay.h b/stepmania/src/RageDisplay.h index 32c0dcd393..114c3fde64 100644 --- a/stepmania/src/RageDisplay.h +++ b/stepmania/src/RageDisplay.h @@ -178,6 +178,8 @@ public: virtual void SaveScreenshot( CString sPath ) = 0; + virtual CString GetTextureDiagnostics( unsigned id ) const { return ""; } + protected: // Return true if mode change was successful. // bNewDeviceOut is set true if a new device was created and textures diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 9c933f3f68..bed9329815 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -533,6 +533,10 @@ void RageDisplay_OGL::SaveScreenshot( CString sPath ) SDL_FreeSurface( temp ); } +CString RageDisplay_OGL::GetTextureDiagnostics( unsigned id ) const +{ + return ""; +} RageDisplay::VideoModeParams RageDisplay_OGL::GetVideoModeParams() const { return wind->GetVideoModeParams(); } @@ -1047,4 +1051,4 @@ RageMatrix RageDisplay_OGL::GetOrthoMatrix( float l, float r, float b, float t, 0, 0, -2/(zf-zn), 0, -(r+l)/(r-l), -(t+b)/(t-b), -(zf+zn)/(zf-zn), 1 ); return m; -} \ No newline at end of file +} diff --git a/stepmania/src/RageDisplay_OGL.h b/stepmania/src/RageDisplay_OGL.h index 54beb2d281..82c3a13e4a 100644 --- a/stepmania/src/RageDisplay_OGL.h +++ b/stepmania/src/RageDisplay_OGL.h @@ -59,6 +59,8 @@ public: void DrawIndexedTriangles( const RageVertex v[], int iNumVerts, const Uint16* pIndices, int iNumIndices ); void DrawLineStrip( const RageVertex v[], int iNumVerts, float LineWidth ); + CString GetTextureDiagnostics( unsigned id ) const; + void SaveScreenshot( CString sPath ); protected: bool TryVideoMode( VideoModeParams params, bool &bNewDeviceOut );