#if defined(WIN32) || !defined(_XBOX) -> && !defined(_XBOX)

This commit is contained in:
Chris Danford
2003-05-29 00:15:11 +00:00
parent 7fbd29eb18
commit 73e1e30ac3
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -124,7 +124,7 @@ RageLog::~RageLog()
void RageLog::ShowConsole()
{
#if defined(WIN32) || !defined(_XBOX)
#if defined(WIN32) && !defined(_XBOX)
// create a new console window and attach standard handles
AllocConsole();
freopen("CONOUT$","wb",stdout);
@@ -134,7 +134,7 @@ void RageLog::ShowConsole()
void RageLog::HideConsole()
{
#if defined(WIN32) || !defined(_XBOX)
#if defined(WIN32) && !defined(_XBOX)
FreeConsole();
#endif
}
+1 -1
View File
@@ -222,7 +222,7 @@ void RageMatrixCommand( CString sCommandString, RageMatrix &mat )
{
CString sError = ssprintf( "Unrecognized matrix command name '%s' in command string '%s'.", sName.c_str(), sCommandString.c_str() );
LOG->Warn( sError );
#if defined(WIN32) || !defined(_XBOX) // XXX arch?
#if defined(WIN32) && !defined(_XBOX) // XXX arch?
if( DISPLAY->IsWindowed() )
MessageBox(NULL, sError, "MatrixCommand", MB_OK);
#endif
@@ -325,7 +325,6 @@ void MovieTexture_DShow::CreateTexture()
m_PixelFormat = FMT_RGB5;
else
m_PixelFormat = FMT_RGBA4; // everything supports RGBA4
break;
case 32:
if( DISPLAY->SupportsTextureFormat(FMT_RGB8) )