GHOST: Init New Windows with a closer theme color

The user theme is loaded after window creation so we should create the 
window with a color that at least matches the default theme.

Differential Revision: https://developer.blender.org/D6858
This commit is contained in:
Aaron Carlisle 2020-02-15 12:44:52 -05:00
parent 0feb03e680
commit e0499387ca

View file

@ -145,7 +145,7 @@ void GHOST_Context::initContextGLEW()
void GHOST_Context::initClearGL()
{
glClearColor(0.447, 0.447, 0.447, 0.000);
glClearColor(0.294, 0.294, 0.294, 0.000);
glClear(GL_COLOR_BUFFER_BIT);
glClearColor(0.000, 0.000, 0.000, 0.000);
}