#if defined(WIN32) || !defined(_XBOX) -> && !defined(_XBOX)
This commit is contained in:
@@ -124,7 +124,7 @@ RageLog::~RageLog()
|
|||||||
|
|
||||||
void RageLog::ShowConsole()
|
void RageLog::ShowConsole()
|
||||||
{
|
{
|
||||||
#if defined(WIN32) || !defined(_XBOX)
|
#if defined(WIN32) && !defined(_XBOX)
|
||||||
// create a new console window and attach standard handles
|
// create a new console window and attach standard handles
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen("CONOUT$","wb",stdout);
|
freopen("CONOUT$","wb",stdout);
|
||||||
@@ -134,7 +134,7 @@ void RageLog::ShowConsole()
|
|||||||
|
|
||||||
void RageLog::HideConsole()
|
void RageLog::HideConsole()
|
||||||
{
|
{
|
||||||
#if defined(WIN32) || !defined(_XBOX)
|
#if defined(WIN32) && !defined(_XBOX)
|
||||||
FreeConsole();
|
FreeConsole();
|
||||||
#endif
|
#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() );
|
CString sError = ssprintf( "Unrecognized matrix command name '%s' in command string '%s'.", sName.c_str(), sCommandString.c_str() );
|
||||||
LOG->Warn( sError );
|
LOG->Warn( sError );
|
||||||
#if defined(WIN32) || !defined(_XBOX) // XXX arch?
|
#if defined(WIN32) && !defined(_XBOX) // XXX arch?
|
||||||
if( DISPLAY->IsWindowed() )
|
if( DISPLAY->IsWindowed() )
|
||||||
MessageBox(NULL, sError, "MatrixCommand", MB_OK);
|
MessageBox(NULL, sError, "MatrixCommand", MB_OK);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -325,7 +325,6 @@ void MovieTexture_DShow::CreateTexture()
|
|||||||
m_PixelFormat = FMT_RGB5;
|
m_PixelFormat = FMT_RGB5;
|
||||||
else
|
else
|
||||||
m_PixelFormat = FMT_RGBA4; // everything supports RGBA4
|
m_PixelFormat = FMT_RGBA4; // everything supports RGBA4
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 32:
|
case 32:
|
||||||
if( DISPLAY->SupportsTextureFormat(FMT_RGB8) )
|
if( DISPLAY->SupportsTextureFormat(FMT_RGB8) )
|
||||||
|
|||||||
Reference in New Issue
Block a user