diff --git a/src/Math/Matrix4.h b/src/Math/Matrix4.h index 872cfffee..bb8b1b604 100644 --- a/src/Math/Matrix4.h +++ b/src/Math/Matrix4.h @@ -31,7 +31,7 @@ #include "Math/Matrix.h" #include "Math/Vector4.h" -#ifdef _WIN32 /* I so HATE windows.h */ +#ifdef _WIN32 /* I so HATE windef.h */ #undef near #undef far #endif diff --git a/src/Renderer.cpp b/src/Renderer.cpp index 77db22f6c..88eb14fbd 100644 --- a/src/Renderer.cpp +++ b/src/Renderer.cpp @@ -205,6 +205,9 @@ void Renderer::initializeContextBasedFunctionality(Context& context) { #else static_cast(context); #endif + + /* Set some "corporate identity" */ + setClearColor(Color3(0.125f)); } #ifndef MAGNUM_TARGET_GLES diff --git a/src/Renderer.h b/src/Renderer.h index 1e345f3ea..53e547f6a 100644 --- a/src/Renderer.h +++ b/src/Renderer.h @@ -234,7 +234,7 @@ class MAGNUM_EXPORT Renderer { /** * @brief Set clear color * - * Initial value is fully opaque black. + * Initial value is {0.125f, 0.125f, 0.125f, 1.0f}. * @see @fn_gl{ClearColor} */ static void setClearColor(const Color4& color); diff --git a/src/SceneGraph/Camera3D.h b/src/SceneGraph/Camera3D.h index 2b1c430e1..ac18cd66f 100644 --- a/src/SceneGraph/Camera3D.h +++ b/src/SceneGraph/Camera3D.h @@ -30,7 +30,7 @@ #include "AbstractCamera.h" -#ifdef _WIN32 /* I so HATE windows.h */ +#ifdef _WIN32 /* I so HATE windef.h */ #undef near #undef far #endif