Set dark background.

This commit is contained in:
Bartosz Taudul 2024-06-06 18:05:16 +02:00
parent 2cea5706d5
commit f6f8fb3d27
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 2 additions and 2 deletions

View File

@ -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 );

View File

@ -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 );