From f15efca945b02f33f342f8437053bc7838bc6fc6 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Wed, 9 Sep 2009 03:59:46 +0000 Subject: [PATCH] Making the sky (glClearColor) bluer --- src/gis/gis-opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gis/gis-opengl.c b/src/gis/gis-opengl.c index 4b8a1d8..78491b8 100644 --- a/src/gis/gis-opengl.c +++ b/src/gis/gis-opengl.c @@ -281,7 +281,7 @@ static void set_visuals(GisOpenGL *self) gis_view_get_location(self->view, &lat, &lon, &elev); gdouble rg = MAX(0, 1-(elev/20000)); gdouble blue = MAX(0, 1-(elev/50000)); - glClearColor(MIN(0.8,rg), MIN(0.8,rg), MIN(1,blue), 1.0f); + glClearColor(MIN(0.65,rg), MIN(0.65,rg), MIN(1,blue), 1.0f); glDisable(GL_ALPHA_TEST); -- 2.41.0