From a90b6a555a78e00db448c4fe7e20f61328fc1c43 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 28 Dec 2018 20:56:59 -0500 Subject: [PATCH] The OpenGL context is now cleared to the default sky color --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index bf565c7..131a519 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -192,9 +192,10 @@ int main(int argc, char** argv) } } - // Clear the OpenGL context. + // Clear the OpenGL context to the default Minceraft sky color. This + // might be changed to use a 'time-of-day' variable instead. - glClearColor(0.0f, 0.0f, 0.0f, 1.0f); + glClearColor(186.0f / 255.0f, 214.0f / 255.0f, 254.0f / 255.0f, 1.0f); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);