mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +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 Show();
|
||||||
void Run();
|
void Run();
|
||||||
|
void Attention();
|
||||||
|
|
||||||
void NewFrame( int& w, int& h );
|
void NewFrame( int& w, int& h );
|
||||||
void EndFrame();
|
void EndFrame();
|
||||||
|
@ -151,6 +151,11 @@ void Backend::Run()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Backend::Attention()
|
||||||
|
{
|
||||||
|
glfwRequestWindowAttention( s_window );
|
||||||
|
}
|
||||||
|
|
||||||
void Backend::NewFrame( int& w, int& h )
|
void Backend::NewFrame( int& w, int& h )
|
||||||
{
|
{
|
||||||
glfwGetFramebufferSize( s_window, &w, &h );
|
glfwGetFramebufferSize( s_window, &w, &h );
|
||||||
|
Loading…
Reference in New Issue
Block a user