diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2021-09-19 19:53:42 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-09-19 19:53:42 -0400 |
commit | 9d33d175b5cd564e77bda07fcbce252477f7c40f (patch) | |
tree | 21eedba8ca61e6f4e6c5fc20bdfd0488b4c166c3 /themes/Renderer2d.cpp | |
parent | de850676e79da39aec6f1ce0400cfa94cecbd744 (diff) |
Decently working autumn theme
Diffstat (limited to 'themes/Renderer2d.cpp')
-rw-r--r-- | themes/Renderer2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |