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-06 18:32:25 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-10-06 18:32:25 +0300
commita4e39f3d5f3acb33cccee09045b44012ebcca59c (patch)
tree3434f7ba7d8a9342b6bc1ed140517eacc9b4bf2a /profiler
parent5d7cf137cf71ddb977a7497aed6d0c3d0398e350 (diff)
Enable redraw after screen resize.
Diffstat (limited to 'profiler')
-rw-r--r--profiler/src/BackendGlfw.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/profiler/src/BackendGlfw.cpp b/profiler/src/BackendGlfw.cpp
index 952e473c..1efcb84c 100644
--- a/profiler/src/BackendGlfw.cpp
+++ b/profiler/src/BackendGlfw.cpp
@@ -13,6 +13,8 @@
#include <stdlib.h>
#include <thread>
+#include "../../server/TracyImGui.hpp"
+
#include "Backend.hpp"
#include "RunQueue.hpp"
@@ -44,6 +46,7 @@ static void glfw_window_size_callback( GLFWwindow* window, int w, int h )
s_winPos->w = w;
s_winPos->h = h;
}
+ tracy::s_wasActive = true;
}
static void glfw_window_maximize_callback( GLFWwindow*, int maximized )