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>
This commit is contained in:
Robert Bragg 2012-01-08 03:12:17 +00:00
parent b168ff8ef6
commit 983c9f0dc4

View File

@ -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... */