mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed macro redefinitions when using amalgamated.cpp
This commit is contained in:
parent
4d353b8476
commit
adef759e53
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