mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #605 from jpcy/amalgamated-macro-redefinition
Fixed macro redefinitions when using amalgamated.cpp
This commit is contained in:
commit
98b54dffd2
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue