Fixing unused macro.

This commit is contained in:
bkaradzic 2013-04-23 19:29:46 -07:00
parent 0434ccfc10
commit 616177ea5f
3 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ namespace bgfx
virtual void fatal(Fatal::Enum _code, const char* _str) BX_OVERRIDE
{
BX_TRACE("0x%08x: %s", _code, _str);
BX_UNUSED(_code, _str);
abort();
}

View File

@ -362,6 +362,7 @@ namespace bgfx
fmt.m_supported = SUCCEEDED(m_d3d9->CheckDeviceFormat(m_adapter, m_deviceType, adapterFormat, fmt.m_usage, fmt.m_type, fmt.m_fmt) );
const char* fourcc = (const char*)&fmt.m_fmt;
BX_TRACE("\t%2d: %c%c%c%c %s", ii, fourcc[0], fourcc[1], fourcc[2], fourcc[3], fmt.m_supported ? "supported" : "");
BX_UNUSED(fourcc);
}
m_instancing = false

View File

@ -222,6 +222,7 @@ namespace bgfx
, toString(_severity)
, _message
);
BX_UNUSED(_source, _type, _id, _severity, _message);
}
#endif // BGFX_CONFIG_RENDERER_OPENGL