add GetTextureDiagnostics (not used yet)
This commit is contained in:
@@ -178,6 +178,8 @@ public:
|
|||||||
|
|
||||||
virtual void SaveScreenshot( CString sPath ) = 0;
|
virtual void SaveScreenshot( CString sPath ) = 0;
|
||||||
|
|
||||||
|
virtual CString GetTextureDiagnostics( unsigned id ) const { return ""; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Return true if mode change was successful.
|
// Return true if mode change was successful.
|
||||||
// bNewDeviceOut is set true if a new device was created and textures
|
// 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 );
|
SDL_FreeSurface( temp );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CString RageDisplay_OGL::GetTextureDiagnostics( unsigned id ) const
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
RageDisplay::VideoModeParams RageDisplay_OGL::GetVideoModeParams() const { return wind->GetVideoModeParams(); }
|
RageDisplay::VideoModeParams RageDisplay_OGL::GetVideoModeParams() const { return wind->GetVideoModeParams(); }
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ public:
|
|||||||
void DrawIndexedTriangles( const RageVertex v[], int iNumVerts, const Uint16* pIndices, int iNumIndices );
|
void DrawIndexedTriangles( const RageVertex v[], int iNumVerts, const Uint16* pIndices, int iNumIndices );
|
||||||
void DrawLineStrip( const RageVertex v[], int iNumVerts, float LineWidth );
|
void DrawLineStrip( const RageVertex v[], int iNumVerts, float LineWidth );
|
||||||
|
|
||||||
|
CString GetTextureDiagnostics( unsigned id ) const;
|
||||||
|
|
||||||
void SaveScreenshot( CString sPath );
|
void SaveScreenshot( CString sPath );
|
||||||
protected:
|
protected:
|
||||||
bool TryVideoMode( VideoModeParams params, bool &bNewDeviceOut );
|
bool TryVideoMode( VideoModeParams params, bool &bNewDeviceOut );
|
||||||
|
|||||||
Reference in New Issue
Block a user