mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-27 05:28:24 +00:00
Enforce DPI scale setup on first render frame.
Not all backends know their DPI before window is available.
This commit is contained in:
@@ -20,7 +20,7 @@ static EGLDisplay s_eglDpy;
|
||||
static EGLContext s_eglCtx;
|
||||
static EGLSurface s_eglSurf;
|
||||
|
||||
static float s_prevScale;
|
||||
static float s_prevScale = -1;
|
||||
static int s_width, s_height;
|
||||
static uint64_t s_time;
|
||||
static const char* s_prevCursor = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user