1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Merge branch 'master' into hw

This commit is contained in:
Bartosz Taudul
2021-06-17 01:37:10 +02:00
3 changed files with 52 additions and 34 deletions
+7
View File
@@ -278,6 +278,13 @@ int main( int argc, char** argv )
# endif
#endif
const auto envDpiScale = getenv( "TRACY_DPI_SCALE" );
if( envDpiScale )
{
const auto cnv = atof( envDpiScale );
if( cnv != 0 ) dpiScale = cnv;
}
// Setup ImGui binding
IMGUI_CHECKVERSION();
ImGui::CreateContext();