diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-01-08 03:12:17 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-02-09 13:20:27 +0000 |
commit | 983c9f0dc4502b68f42a725cc8182c2887f257ee (patch) | |
tree | 57db18a1676418bdc892408b0f0495b3d5528801 | |
parent | b168ff8ef674deac12b6e8a23965256ccee8ddc2 (diff) | |
download | cogl-983c9f0dc4502b68f42a725cc8182c2887f257ee.tar.gz |
cogl-crate: remove spurious cogl_set_depth_test_enabled call
Use of cogl_set_depth_test_enabled() has been deprecated for some time
and cogl-create already uses the new api for enabling depth testing so
it was just an oversight that we forgot to remove the old call to
cogl_set_depth_test_enabled().
Reviewed-by: Neil Roberts <neil@linux.intel.com>
-rw-r--r-- | examples/cogl-crate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/cogl-crate.c b/examples/cogl-crate.c index 6b76a671..cc288327 100644 --- a/examples/cogl-crate.c +++ b/examples/cogl-crate.c @@ -117,8 +117,6 @@ paint (Data *data) cogl_framebuffer_draw_primitive (fb, data->crate_pipeline, data->prim); - cogl_set_depth_test_enabled (FALSE); - cogl_framebuffer_pop_matrix (fb); /* And finally render our Pango layouts... */ |