Merge pull request #605 from jpcy/amalgamated-macro-redefinition

Fixed macro redefinitions when using amalgamated.cpp
This commit is contained in:
Branimir Karadžić 2015-12-16 23:07:33 -08:00
commit 98b54dffd2
2 changed files with 12 additions and 0 deletions

View file

@ -5728,6 +5728,12 @@ BX_PRAGMA_DIAGNOSTIC_POP();
}
} /* 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
namespace bgfx { namespace d3d11

View file

@ -6558,6 +6558,12 @@ namespace bgfx { namespace gl
}
} } // 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
namespace bgfx { namespace gl