mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Track elevation state.
This commit is contained in:
parent
7e23d873dc
commit
59f7870345
@ -51,6 +51,7 @@
|
|||||||
#include "Filters.hpp"
|
#include "Filters.hpp"
|
||||||
#include "Fonts.hpp"
|
#include "Fonts.hpp"
|
||||||
#include "HttpRequest.hpp"
|
#include "HttpRequest.hpp"
|
||||||
|
#include "IsElevated.hpp"
|
||||||
#include "ImGuiContext.hpp"
|
#include "ImGuiContext.hpp"
|
||||||
#include "ResolvService.hpp"
|
#include "ResolvService.hpp"
|
||||||
#include "RunQueue.hpp"
|
#include "RunQueue.hpp"
|
||||||
@ -96,6 +97,7 @@ static void* iconTex;
|
|||||||
static int iconTexSz;
|
static int iconTexSz;
|
||||||
static Backend* bptr;
|
static Backend* bptr;
|
||||||
static bool s_customTitle = false;
|
static bool s_customTitle = false;
|
||||||
|
static bool s_isElevated = false;
|
||||||
|
|
||||||
static void SetWindowTitleCallback( const char* title )
|
static void SetWindowTitleCallback( const char* title )
|
||||||
{
|
{
|
||||||
@ -248,6 +250,7 @@ int main( int argc, char** argv )
|
|||||||
}
|
}
|
||||||
|
|
||||||
tracy::Fileselector::Init();
|
tracy::Fileselector::Init();
|
||||||
|
s_isElevated = IsElevated();
|
||||||
|
|
||||||
backend.Show();
|
backend.Show();
|
||||||
backend.Run();
|
backend.Run();
|
||||||
|
Loading…
Reference in New Issue
Block a user