gegl r2956 - in trunk: . tests
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2956 - in trunk: . tests
- Date: Sun, 1 Mar 2009 12:50:59 +0000 (UTC)
Author: martinn
Date: Sun Mar 1 12:50:58 2009
New Revision: 2956
URL: http://svn.gnome.org/viewvc/gegl?rev=2956&view=rev
Log:
Memset result buffer before each processing in the test case
Modified:
trunk/ChangeLog
trunk/tests/test-proxynop-processing.c
Modified: trunk/tests/test-proxynop-processing.c
==============================================================================
--- trunk/tests/test-proxynop-processing.c (original)
+++ trunk/tests/test-proxynop-processing.c Sun Mar 1 12:50:58 2009
@@ -15,6 +15,8 @@
* Copyright (C) 2009 Martin Nordholts
*/
+#include <string.h>
+
#include "gegl.h"
#define RED 0
@@ -63,6 +65,7 @@
NULL);
/* Process the graph and make sure we get the expected result */
+ memset (result_buffer, 0, sizeof (result_buffer));
gegl_node_blit (graph_output_proxy,
1.0,
&roi,
@@ -85,6 +88,7 @@
gegl_node_set (color_in_graph,
"value", color2,
NULL);
+ memset (result_buffer, 0, sizeof (result_buffer));
gegl_node_blit (graph_output_proxy,
1.0,
&roi,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]