mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Set dark background.
This commit is contained in:
parent
2cea5706d5
commit
f6f8fb3d27
@ -179,7 +179,7 @@ void Backend::NewFrame( int& w, int& h )
|
|||||||
|
|
||||||
void Backend::EndFrame()
|
void Backend::EndFrame()
|
||||||
{
|
{
|
||||||
const ImVec4 clear_color = ImColor( 114, 144, 154 );
|
const ImVec4 clear_color = ImColor( 20, 20, 17 );
|
||||||
|
|
||||||
ImGui::Render();
|
ImGui::Render();
|
||||||
glViewport( 0, 0, m_w, m_h );
|
glViewport( 0, 0, m_w, m_h );
|
||||||
|
@ -1015,7 +1015,7 @@ void Backend::NewFrame( int& w, int& h )
|
|||||||
|
|
||||||
void Backend::EndFrame()
|
void Backend::EndFrame()
|
||||||
{
|
{
|
||||||
const ImVec4 clear_color = ImColor( 114, 144, 154 );
|
const ImVec4 clear_color = ImColor( 20, 20, 17 );
|
||||||
|
|
||||||
ImGui::Render();
|
ImGui::Render();
|
||||||
glViewport( 0, 0, s_width * s_maxScale / 120, s_height * s_maxScale / 120 );
|
glViewport( 0, 0, s_width * s_maxScale / 120, s_height * s_maxScale / 120 );
|
||||||
|
Loading…
Reference in New Issue
Block a user