summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2014-04-01 06:55:17 -0700
committerChad Versace <chad.versace@linux.intel.com>2014-04-01 06:55:17 -0700
commit9dc9e3a2d359707564fa23ec2344b3b11e3e190f (patch)
tree5d65ff5fdfa296f8b3a9c86097e89cb471f2003e
parentbdd61ed7c2099ad0e367316642de004ab7495d7c (diff)
examples: Remove dead code
simple-x11-egl called glClearColor back-to-back. Remove the first call. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r--examples/simple-x11-egl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/simple-x11-egl.c b/examples/simple-x11-egl.c
index c121205..1732e7a 100644
--- a/examples/simple-x11-egl.c
+++ b/examples/simple-x11-egl.c
@@ -108,7 +108,6 @@ main()
sleep(1); // Sleep so that user can see window.
// Draw green.
- glClearColor(1.0, 0.0, 0.0, 1.0);
glClearColor(0.0, 1.0, 0.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT);
waffle_window_swap_buffers(window);