aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cube_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cube_view.h')
-rw-r--r--examples/cube_view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cube_view.h b/examples/cube_view.h
index fb32595..82648ac 100644
--- a/examples/cube_view.h
+++ b/examples/cube_view.h
@@ -51,7 +51,7 @@ displayCube(PuglView* const view,
glRotatef((float)xAngle, 0.0f, 1.0f, 0.0f);
glRotatef((float)yAngle, 1.0f, 0.0f, 0.0f);
- const float bg = entered ? 0.2f : 0.1f;
+ const float bg = entered ? 0.2f : 0.0f;
glClearColor(bg, bg, bg, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);