Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-02-15 20:44:52 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-02-15 20:44:52 +0300
commite0499387ca0a641a92f3ad22bcdfc356d4828f12 (patch)
treed83f5fb0077527d70f883f94cf0f011723712cb8
parent0feb03e680d680c3b8eba0327f74c4fa1f49c6fa (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
-rw-r--r--intern/ghost/intern/GHOST_Context.cpp2
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);
}