From 9d33d175b5cd564e77bda07fcbce252477f7c40f Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Sun, 19 Sep 2021 19:53:42 -0400 Subject: Decently working autumn theme --- themes/Renderer2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/Renderer2d.cpp') diff --git a/themes/Renderer2d.cpp b/themes/Renderer2d.cpp index c51d4a9..7a69ba4 100644 --- a/themes/Renderer2d.cpp +++ b/themes/Renderer2d.cpp @@ -38,7 +38,7 @@ void Renderer2d::render() { glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL); glDepthMask(GL_TRUE); - glClearColor(0.f, 0.f, 0.f, 1.f); + glClearColor(clearColor.x, clearColor.y, clearColor.z, clearColor.w); glClearDepth(1.0f); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); useShader(shader); -- cgit v1.2.1