#if defined(WIN32) || !defined(_XBOX) -> && !defined(_XBOX)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user