From cecfbb76e8e9afaca9d70dc26c7c99bda1dd5d44 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 22 Mar 2021 12:07:15 +0100 Subject: [PATCH] - fixed uninitialized clear color variable. --- source/common/rendering/v_video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/rendering/v_video.h b/source/common/rendering/v_video.h index ee714a6aa..c9124e05f 100644 --- a/source/common/rendering/v_video.h +++ b/source/common/rendering/v_video.h @@ -146,7 +146,7 @@ public: IntRect mScreenViewport; IntRect mSceneViewport; IntRect mOutputLetterbox; - float mSceneClearColor[4]; + float mSceneClearColor[4]{ 0,0,0,255 }; public: DFrameBuffer (int width=1, int height=1);