log current renderer

This commit is contained in:
Glenn Maynard
2003-05-27 00:48:40 +00:00
parent a9fa113a0f
commit 2e96c4785e
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -175,7 +175,8 @@ const PixelFormatDesc *RageDisplay_D3D::GetPixelFormatDesc(PixelFormat pf) const
RageDisplay_D3D::RageDisplay_D3D( bool windowed, int width, int height, int bpp, int rate, bool vsync, CString sWindowTitle, CString sIconFile )
{
LOG->Trace( "RageDisplay_D3D::RageDisplay()" );
LOG->Trace( "RageDisplay_D3D::RageDisplay_D3D()" );
LOG->MapLog("renderer", "Current renderer: Direct3D");
typedef IDirect3D8 * (WINAPI * Direct3DCreate8_t) (UINT SDKVersion);
Direct3DCreate8_t pDirect3DCreate8;
+2 -1
View File
@@ -108,7 +108,8 @@ void GetGLExtensions(set<string> &ext)
RageDisplay_OGL::RageDisplay_OGL( bool windowed, int width, int height, int bpp, int rate, bool vsync, CString sWindowTitle, CString sIconFile )
{
LOG->Trace( "RageDisplay_OGL::RageDisplay()" );
LOG->Trace( "RageDisplay_OGL::RageDisplay_OGL()" );
LOG->MapLog("renderer", "Current renderer: OpenGL");
wind = MakeLowLevelWindow();