add GetTextureDiagnostics (not used yet)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user