UI: Set Initial Background Color Darker #115968
|
@ -603,7 +603,7 @@ GHOST_TSuccess GHOST_SystemWin32::init()
|
|||
#ifdef INW32_COMPISITING
|
||||
(HBRUSH)CreateSolidBrush
|
||||
#endif
|
||||
(0x00000000);
|
||||
(HBRUSH) GetStockObject(DKGRAY_BRUSH);
|
||||
wc.lpszMenuName = 0;
|
||||
wc.lpszClassName = L"GHOST_WindowClass";
|
||||
|
||||
|
|
|
@ -784,7 +784,7 @@ static void wm_window_ghostwindow_add(wmWindowManager *wm,
|
|||
}
|
||||
#endif
|
||||
/* until screens get drawn, make it nice gray */
|
||||
GPU_clear_color(0.55f, 0.55f, 0.55f, 1.0f);
|
||||
GPU_clear_color(0.25f, 0.25f, 0.25f, 1.0f);
|
||||
|
||||
/* needed here, because it's used before it reads userdef */
|
||||
WM_window_set_dpi(win);
|
||||
|
@ -792,7 +792,7 @@ static void wm_window_ghostwindow_add(wmWindowManager *wm,
|
|||
wm_window_swap_buffers(win);
|
||||
|
||||
/* Clear double buffer to avoids flickering of new windows on certain drivers. (See #97600) */
|
||||
GPU_clear_color(0.55f, 0.55f, 0.55f, 1.0f);
|
||||
GPU_clear_color(0.25f, 0.25f, 0.25f, 1.0f);
|
||||
|
||||
GPU_render_end();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue