Skip to content

Commit

Permalink
- fixed uninitialized clear color variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Mar 22, 2021
1 parent 98e4a30 commit a12f277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/rendering/v_video.h
Expand Up @@ -147,7 +147,7 @@ class DFrameBuffer
IntRect mScreenViewport;
IntRect mSceneViewport;
IntRect mOutputLetterbox;
float mSceneClearColor[4];
float mSceneClearColor[4]{ 0,0,0,255 };

public:
DFrameBuffer (int width=1, int height=1);
Expand Down

0 comments on commit a12f277

Please sign in to comment.