mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Move GetScale() to TracyImGui.hpp.
This commit is contained in:
@@ -81,12 +81,6 @@ constexpr const char* GpuContextNames[] = {
|
||||
};
|
||||
|
||||
|
||||
static inline float GetScale()
|
||||
{
|
||||
return ImGui::GetTextLineHeight() / 15.f;
|
||||
}
|
||||
|
||||
|
||||
static inline uint64_t GetThreadBit( uint8_t thread )
|
||||
{
|
||||
return uint64_t( 1 ) << thread;
|
||||
|
||||
Reference in New Issue
Block a user