Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.

This commit is contained in:
Areloch 2017-04-08 20:30:57 -05:00
parent 513789c2c7
commit 26fd24fbab
43 changed files with 35 additions and 356 deletions

View file

@ -100,7 +100,6 @@ GFont* GFont::load( const Torque::Path& path )
}
else
{
#ifndef TORQUE_OS_XENON
PlatformFont *platFont = createPlatformFont(ret->getFontFaceName(), ret->getFontSize(), ret->getFontCharSet());
if ( platFont == NULL )
@ -110,7 +109,6 @@ GFont* GFont::load( const Torque::Path& path )
}
else
ret->setPlatformFont(platFont);
#endif
}
return ret;

View file

@ -190,12 +190,6 @@ GFXDevice::GFXDevice()
GFXShader::addGlobalMacro( "TORQUE_OS_MAC" );
#elif defined TORQUE_OS_LINUX
GFXShader::addGlobalMacro( "TORQUE_OS_LINUX" );
#elif defined TORQUE_OS_XENON
GFXShader::addGlobalMacro( "TORQUE_OS_XENON" );
#elif defined TORQUE_OS_XBOX
GFXShader::addGlobalMacro( "TORQUE_OS_XBOX" );
#elif defined TORQUE_OS_PS3
GFXShader::addGlobalMacro( "TORQUE_OS_PS3" );
#endif
mStereoTargets[0] = NULL;

View file

@ -298,15 +298,7 @@ public:
/// @see GFXVertexFormat
template<class T> inline const GFXVertexFormat* getGFXVertexFormat();
#ifdef TORQUE_OS_XENON
/// On the Xbox360 we want we want to be sure that verts
/// are on aligned boundariess.
#define GFX_VERTEX_STRUCT __declspec(align(16)) struct
#else
#define GFX_VERTEX_STRUCT struct
#endif
#define GFX_VERTEX_STRUCT struct
/// The vertex format declaration which is usally placed in your header