From a12f2778460ccc17a55e3eff1d8f8a2a66e7f140 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 ae4b318d0..69ccdc3bc 100644 --- a/source/common/rendering/v_video.h +++ b/source/common/rendering/v_video.h @@ -147,7 +147,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);