mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed macro redefinitions when using amalgamated.cpp
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user