summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/egl/opengl/eglgears.c2
-rw-r--r--src/egl/opengles1/gears.c2
-rw-r--r--src/egl/opengles2/es2gears.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/opengl/eglgears.c b/src/egl/opengl/eglgears.c
index 2813005c..baa5b41a 100644
--- a/src/egl/opengl/eglgears.c
+++ b/src/egl/opengl/eglgears.c
@@ -179,7 +179,7 @@ gear(GLfloat inner_radius, GLfloat outer_radius, GLfloat width,
static void
draw(void)
{
- glClearColor(0.0, 0.0, 0.0, 0.5);
+ glClearColor(0.0, 0.0, 0.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushMatrix();
diff --git a/src/egl/opengles1/gears.c b/src/egl/opengles1/gears.c
index ce342281..848981fa 100644
--- a/src/egl/opengles1/gears.c
+++ b/src/egl/opengles1/gears.c
@@ -249,7 +249,7 @@ gears_draw(void)
static const GLfloat green[4] = { 0.0, 0.8, 0.2, 1.0 };
static const GLfloat blue[4] = { 0.2, 0.2, 1.0, 1.0 };
- glClearColor(0.0, 0.0, 0.0, 0.5);
+ glClearColor(0.0, 0.0, 0.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushMatrix();
diff --git a/src/egl/opengles2/es2gears.c b/src/egl/opengles2/es2gears.c
index c8bca3fb..7f0aab71 100644
--- a/src/egl/opengles2/es2gears.c
+++ b/src/egl/opengles2/es2gears.c
@@ -364,7 +364,7 @@ gears_draw(void)
GLfloat transform[16];
mat4_identity(transform);
- glClearColor(0.0, 0.0, 0.0, 0.5);
+ glClearColor(0.0, 0.0, 0.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
/* Translate and rotate the view */