[cogl] cogl-crate: remove spurious cogl_set_depth_test_enabled call
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] cogl-crate: remove spurious cogl_set_depth_test_enabled call
- Date: Thu, 9 Feb 2012 16:09:33 +0000 (UTC)
commit 983c9f0dc4502b68f42a725cc8182c2887f257ee
Author: Robert Bragg <robert linux intel com>
Date: Sun Jan 8 03:12:17 2012 +0000
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>
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 6b76a67..cc28832 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... */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]