mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Enforce DPI scale setup on first render frame.
Not all backends know their DPI before window is available.
This commit is contained in:
@@ -222,7 +222,7 @@ struct Output
|
||||
};
|
||||
static std::unordered_map<uint32_t, std::unique_ptr<Output>> s_output;
|
||||
static int s_maxScale = 120;
|
||||
static int s_prevScale = 120;
|
||||
static int s_prevScale = -1;
|
||||
|
||||
static bool s_running = true;
|
||||
static int s_width, s_height;
|
||||
|
||||
Reference in New Issue
Block a user