From e0e43ee7b335f8d69ca1868d18c5e5e4efabc076 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Mon, 29 Aug 2016 05:31:12 +0200 Subject: [PATCH] Fix mColor reset value --- src/gl/renderer/gl_renderstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/renderer/gl_renderstate.cpp b/src/gl/renderer/gl_renderstate.cpp index 86ea497ed0..7fda924281 100644 --- a/src/gl/renderer/gl_renderstate.cpp +++ b/src/gl/renderer/gl_renderstate.cpp @@ -101,7 +101,7 @@ void FRenderState::Reset() mLastDepthClamp = true; mInterpolationFactor = 0.0f; - mColor.Set(0.0f, 0.0f, 0.0f, 0.0f); + mColor.Set(1.0f, 1.0f, 1.0f, 1.0f); mCameraPos.Set(0.0f, 0.0f, 0.0f, 0.0f); mGlowTop.Set(0.0f, 0.0f, 0.0f, 0.0f); mGlowBottom.Set(0.0f, 0.0f, 0.0f, 0.0f);