Added support for AMD Chips

This commit is contained in:
Vincent Gee 2014-11-30 20:43:04 -05:00
parent 7bf99e38ec
commit ff7f48be6f
3 changed files with 27 additions and 3 deletions

View file

@ -92,8 +92,8 @@ public:
exit conditions.
*/
#define AssertFatal(x, y) \
{ if (((bool)(x))==(bool)0) \
{ if ( ::PlatformAssert::processAssert(::PlatformAssert::Fatal, __FILE__, __LINE__, y) ) { ::Platform::debugBreak(); } } }
{ if (((bool)(x))==false) \
{ if ( ::PlatformAssert::processAssert(::PlatformAssert::Fatal, __FILE__, __LINE__, y) ) { ::Platform::debugBreak(); } } }
#else
#define AssertFatal(x, y) { TORQUE_UNUSED(x); TORQUE_UNUSED(y); }