diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-02-15 20:44:52 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-02-15 20:44:52 +0300 |
commit | e0499387ca0a641a92f3ad22bcdfc356d4828f12 (patch) | |
tree | d83f5fb0077527d70f883f94cf0f011723712cb8 /intern/ghost | |
parent | 0feb03e680d680c3b8eba0327f74c4fa1f49c6fa (diff) |
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
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_Context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_Context.cpp b/intern/ghost/intern/GHOST_Context.cpp index 0d167209909..f8a75370527 100644 --- a/intern/ghost/intern/GHOST_Context.cpp +++ b/intern/ghost/intern/GHOST_Context.cpp @@ -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); } |