mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 15:34:36 +00:00
Add attention request function to windowing backend.
This commit is contained in:
parent
de3190657e
commit
4a1e93841d
@ -16,6 +16,7 @@ public:
|
||||
|
||||
void Show();
|
||||
void Run();
|
||||
void Attention();
|
||||
|
||||
void NewFrame( int& w, int& h );
|
||||
void EndFrame();
|
||||
|
@ -151,6 +151,11 @@ void Backend::Run()
|
||||
#endif
|
||||
}
|
||||
|
||||
void Backend::Attention()
|
||||
{
|
||||
glfwRequestWindowAttention( s_window );
|
||||
}
|
||||
|
||||
void Backend::NewFrame( int& w, int& h )
|
||||
{
|
||||
glfwGetFramebufferSize( s_window, &w, &h );
|
||||
|
Loading…
Reference in New Issue
Block a user