From 983c9f0dc4502b68f42a725cc8182c2887f257ee Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Sun, 8 Jan 2012 03:12:17 +0000 Subject: [PATCH] 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 --- examples/cogl-crate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/cogl-crate.c b/examples/cogl-crate.c index 6b76a6710..cc288327f 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... */