Fixed macro redefinitions when using amalgamated.cpp

This commit is contained in:
Jonathan Young 2015-12-17 17:03:10 +10:00
parent 4d353b8476
commit adef759e53
2 changed files with 12 additions and 0 deletions

View file

@ -5728,6 +5728,12 @@ BX_PRAGMA_DIAGNOSTIC_POP();
} }
} /* namespace d3d11 */ } // namespace bgfx } /* namespace d3d11 */ } // namespace bgfx
#undef BGFX_GPU_PROFILER_BIND
#undef BGFX_GPU_PROFILER_UNBIND
#undef BGFX_GPU_PROFILER_BEGIN
#undef BGFX_GPU_PROFILER_BEGIN_DYNAMIC
#undef BGFX_GPU_PROFILER_END
#else #else
namespace bgfx { namespace d3d11 namespace bgfx { namespace d3d11

View file

@ -6558,6 +6558,12 @@ namespace bgfx { namespace gl
} }
} } // namespace bgfx } } // namespace bgfx
#undef BGFX_GPU_PROFILER_BIND
#undef BGFX_GPU_PROFILER_UNBIND
#undef BGFX_GPU_PROFILER_BEGIN
#undef BGFX_GPU_PROFILER_BEGIN_DYNAMIC
#undef BGFX_GPU_PROFILER_END
#else #else
namespace bgfx { namespace gl namespace bgfx { namespace gl