mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 04:50:31 +00:00
refactored platform precompiler variable: TORQUE_OS_WIN{32,64,}
This commit is contained in:
parent
47a2cc165a
commit
6d8e0d7e25
31 changed files with 48 additions and 42 deletions
|
|
@ -25,7 +25,7 @@
|
|||
#include "gfx/primBuilder.h"
|
||||
#include "gfx/D3D9/gfxD3D9CardProfiler.h"
|
||||
#include "gfx/D3D9/gfxD3D9EnumTranslate.h"
|
||||
#ifdef TORQUE_OS_WIN32
|
||||
#ifdef TORQUE_OS_WIN
|
||||
#include "platformWin32/videoInfo/wmiVideoInfo.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -184,8 +184,8 @@ GFXDevice::GFXDevice()
|
|||
// Add a few system wide shader macros.
|
||||
GFXShader::addGlobalMacro( "TORQUE", "1" );
|
||||
GFXShader::addGlobalMacro( "TORQUE_VERSION", String::ToString(getVersionNumber()) );
|
||||
#if defined TORQUE_OS_WIN32
|
||||
GFXShader::addGlobalMacro( "TORQUE_OS_WIN32" );
|
||||
#if defined TORQUE_OS_WIN
|
||||
GFXShader::addGlobalMacro( "TORQUE_OS_WIN" );
|
||||
#elif defined TORQUE_OS_MAC
|
||||
GFXShader::addGlobalMacro( "TORQUE_OS_MAC" );
|
||||
#elif defined TORQUE_OS_LINUX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue