mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Capture ImGui mouse state.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "../../server/TracyBadVersion.hpp"
|
||||
#include "../../server/TracyFileRead.hpp"
|
||||
#include "../../server/TracyImGui.hpp"
|
||||
#include "../../server/TracyMouse.hpp"
|
||||
#include "../../server/TracyPrint.hpp"
|
||||
#include "../../server/TracyStorage.hpp"
|
||||
#include "../../server/TracyView.hpp"
|
||||
@@ -434,6 +435,7 @@ static void DrawContents()
|
||||
ImGui_ImplOpenGL3_NewFrame();
|
||||
ImGui_ImplGlfw_NewFrame();
|
||||
ImGui::NewFrame();
|
||||
tracy::MouseFrame();
|
||||
|
||||
if( !view )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user