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:
parent
5d7cf137cf
commit
a4e39f3d5f
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user