fix vc7 compile

This commit is contained in:
Glenn Maynard
2006-02-07 07:12:42 +00:00
parent 0b9330ccf6
commit 47cd3ee640
+3 -3
View File
@@ -229,7 +229,7 @@ RString RageDisplay_D3D::Init( const VideoModeParams &p, bool bAllowUnaccelerate
if(!pDirect3DCreate8) if(!pDirect3DCreate8)
{ {
LOG->Trace( "Direct3DCreate8 not found" ); LOG->Trace( "Direct3DCreate8 not found" );
return D3D_NOT_INSTALLED; return D3D_NOT_INSTALLED.GetValue();
} }
#endif #endif
@@ -237,11 +237,11 @@ RString RageDisplay_D3D::Init( const VideoModeParams &p, bool bAllowUnaccelerate
if(!g_pd3d) if(!g_pd3d)
{ {
LOG->Trace( "Direct3DCreate8 failed" ); LOG->Trace( "Direct3DCreate8 failed" );
return D3D_NOT_INSTALLED; return D3D_NOT_INSTALLED.GetValue();
} }
if( FAILED( g_pd3d->GetDeviceCaps(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, &g_DeviceCaps) ) ) if( FAILED( g_pd3d->GetDeviceCaps(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, &g_DeviceCaps) ) )
return HARDWARE_ACCELERATION_NOT_AVAILABLE; return HARDWARE_ACCELERATION_NOT_AVAILABLE.GetValue();
D3DADAPTER_IDENTIFIER8 identifier; D3DADAPTER_IDENTIFIER8 identifier;