1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Enable redraw after screen resize.

This commit is contained in:
Bartosz Taudul 2022-10-06 17:32:25 +02:00
parent 5d7cf137cf
commit a4e39f3d5f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -13,6 +13,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <thread> #include <thread>
#include "../../server/TracyImGui.hpp"
#include "Backend.hpp" #include "Backend.hpp"
#include "RunQueue.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->w = w;
s_winPos->h = h; s_winPos->h = h;
} }
tracy::s_wasActive = true;
} }
static void glfw_window_maximize_callback( GLFWwindow*, int maximized ) static void glfw_window_maximize_callback( GLFWwindow*, int maximized )