From 088fe9875cb3502b9a87ad21af0694caf0323cad Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 6 Mar 2022 21:40:00 -0500 Subject: [PATCH] Fill alpha on default clear color --- engine/gfx/public/gfx_commandbuffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gfx/public/gfx_commandbuffer.hpp b/engine/gfx/public/gfx_commandbuffer.hpp index dd47092..29f10ad 100755 --- a/engine/gfx/public/gfx_commandbuffer.hpp +++ b/engine/gfx/public/gfx_commandbuffer.hpp @@ -15,7 +15,7 @@ class GFXSampler; struct GFXRenderPassBeginInfo { struct ClearColor { - float r = 0.0f, g = 0.0f, b = 0.0f, a = 0.0f; + float r = 0.0f, g = 0.0f, b = 0.0f, a = 1.0f; } clear_color; prism::Rectangle render_area;