summaryrefslogtreecommitdiff
path: root/frontend/shared_cpp/OrthographicRenderer.cpp
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-03-27 11:49:56 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-03-27 11:49:56 -0400
commit58488f8eabcc61089e0ae4297f38f10cc28d78c7 (patch)
tree81ac504e61c57c7228024ad40710f782a3d8c884 /frontend/shared_cpp/OrthographicRenderer.cpp
parent26ea81c5893778a7fa4ecbb2e8f561c9edabd0b3 (diff)
Working reusable simulation loop
Diffstat (limited to 'frontend/shared_cpp/OrthographicRenderer.cpp')
-rw-r--r--frontend/shared_cpp/OrthographicRenderer.cpp2
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);
}