Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-10-15 13:16:18 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-10-15 13:16:18 +0300
commit5b1c1119c501e583f5a486809b837b657fc462c8 (patch)
treee85b8002f2f07d9fc14abd2151c4017a604b66ea /profiler
parent4892c32b40003c17294e66835d1741181d70790b (diff)
Create icon texture while waiting for icon to load.
Diffstat (limited to 'profiler')
-rw-r--r--profiler/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp
index 3b2569e0..6035b590 100644
--- a/profiler/src/main.cpp
+++ b/profiler/src/main.cpp
@@ -221,6 +221,7 @@ int main( int argc, char** argv )
ImGuiTracyContext imguiContext;
Backend backend( title, DrawContents, &mainThreadTasks );
+ iconTex = tracy::MakeTexture();
iconThread.join();
backend.SetIcon( iconPx, iconX, iconY );
bptr = &backend;
@@ -233,7 +234,6 @@ int main( int argc, char** argv )
if( cnv != 0 ) dpiScale = cnv;
}
- iconTex = tracy::MakeTexture();
SetupDPIScale( dpiScale, s_fixedWidth, s_bigFont, s_smallFont );
if( initFileOpen )