diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2021-03-27 11:49:56 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-03-27 11:49:56 -0400 |
commit | 58488f8eabcc61089e0ae4297f38f10cc28d78c7 (patch) | |
tree | 81ac504e61c57c7228024ad40710f782a3d8c884 /frontend/shared_cpp/OrthographicRenderer.cpp | |
parent | 26ea81c5893778a7fa4ecbb2e8f561c9edabd0b3 (diff) |
Working reusable simulation loop
Diffstat (limited to 'frontend/shared_cpp/OrthographicRenderer.cpp')
-rw-r--r-- | frontend/shared_cpp/OrthographicRenderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/shared_cpp/OrthographicRenderer.cpp b/frontend/shared_cpp/OrthographicRenderer.cpp index d160ecc..b6bd5b6 100644 --- a/frontend/shared_cpp/OrthographicRenderer.cpp +++ b/frontend/shared_cpp/OrthographicRenderer.cpp @@ -43,5 +43,7 @@ void OrthographicRenderer::render() { } void OrthographicRenderer::unload() { + glClearColor(0.2f, 0.3f, 0.3f, 1.0f); + glClear(GL_COLOR_BUFFER_BIT); glDeleteProgram(shader); } |