summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
diff options
context:
space:
mode:
authormichal <michal@michal-laptop.(none)>2007-10-27 18:53:38 +0100
committermichal <michal@michal-laptop.(none)>2007-10-27 19:04:20 +0100
commitf93b9dc09a8f9289d7bd5c0f99c935f28016691e (patch)
tree0df34e15a9b10d76ca43517c7cdc18157651914c /src/mesa/pipe/softpipe
parenta846d7d0273e879371b69f1bbcb8a6698a24a903 (diff)
Use FREE instead of free. Fix newlines.
Diffstat (limited to 'src/mesa/pipe/softpipe')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_alpha_test.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_blend.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_bufloop.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_colormask.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_coverage.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_depth_test.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_fs.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_occlusion.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_output.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_stencil.c6
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_stipple.c6
11 files changed, 35 insertions, 31 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_alpha_test.c b/src/mesa/pipe/softpipe/sp_quad_alpha_test.c
index d9b914d896b..6a9cf29e471 100644
--- a/src/mesa/pipe/softpipe/sp_quad_alpha_test.c
+++ b/src/mesa/pipe/softpipe/sp_quad_alpha_test.c
@@ -88,9 +88,9 @@ static void alpha_test_begin(struct quad_stage *qs)
}
-static void alpha_test_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void alpha_test_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_blend.c b/src/mesa/pipe/softpipe/sp_quad_blend.c
index cecf8af29ba..696e252af17 100644
--- a/src/mesa/pipe/softpipe/sp_quad_blend.c
+++ b/src/mesa/pipe/softpipe/sp_quad_blend.c
@@ -727,9 +727,9 @@ static void blend_begin(struct quad_stage *qs)
}
-static void blend_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void blend_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_bufloop.c b/src/mesa/pipe/softpipe/sp_quad_bufloop.c
index bdf491d4b15..aac70e2b04e 100644
--- a/src/mesa/pipe/softpipe/sp_quad_bufloop.c
+++ b/src/mesa/pipe/softpipe/sp_quad_bufloop.c
@@ -50,9 +50,9 @@ static void cbuf_loop_begin(struct quad_stage *qs)
}
-static void cbuf_loop_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void cbuf_loop_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_colormask.c b/src/mesa/pipe/softpipe/sp_quad_colormask.c
index f0aa657e95f..c585aa3eddd 100644
--- a/src/mesa/pipe/softpipe/sp_quad_colormask.c
+++ b/src/mesa/pipe/softpipe/sp_quad_colormask.c
@@ -90,9 +90,9 @@ static void colormask_begin(struct quad_stage *qs)
}
-static void colormask_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void colormask_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_coverage.c b/src/mesa/pipe/softpipe/sp_quad_coverage.c
index 25e7b033b95..9dfad7c580a 100644
--- a/src/mesa/pipe/softpipe/sp_quad_coverage.c
+++ b/src/mesa/pipe/softpipe/sp_quad_coverage.c
@@ -69,9 +69,9 @@ static void coverage_begin(struct quad_stage *qs)
}
-static void coverage_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void coverage_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_depth_test.c b/src/mesa/pipe/softpipe/sp_quad_depth_test.c
index c24232bf1ec..9cb01d7b2fc 100644
--- a/src/mesa/pipe/softpipe/sp_quad_depth_test.c
+++ b/src/mesa/pipe/softpipe/sp_quad_depth_test.c
@@ -231,9 +231,9 @@ static void depth_test_begin(struct quad_stage *qs)
}
-static void depth_test_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void depth_test_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_fs.c b/src/mesa/pipe/softpipe/sp_quad_fs.c
index 43c4d58ac65..81e405d3db5 100644
--- a/src/mesa/pipe/softpipe/sp_quad_fs.c
+++ b/src/mesa/pipe/softpipe/sp_quad_fs.c
@@ -198,7 +198,11 @@ static void shade_begin(struct quad_stage *qs)
static void shade_destroy(struct quad_stage *qs)
{
- free( qs );
+ struct quad_shade_stage *qss = (struct quad_shade_stage *) qs;
+
+ FREE( qss->inputs );
+ FREE( qss->outputs );
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_occlusion.c b/src/mesa/pipe/softpipe/sp_quad_occlusion.c
index 18a36e82862..028d30c92f5 100644
--- a/src/mesa/pipe/softpipe/sp_quad_occlusion.c
+++ b/src/mesa/pipe/softpipe/sp_quad_occlusion.c
@@ -64,9 +64,9 @@ static void occlusion_begin(struct quad_stage *qs)
}
-static void occlusion_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void occlusion_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_output.c b/src/mesa/pipe/softpipe/sp_quad_output.c
index 09194c14a6f..cebfec18f74 100644
--- a/src/mesa/pipe/softpipe/sp_quad_output.c
+++ b/src/mesa/pipe/softpipe/sp_quad_output.c
@@ -70,9 +70,9 @@ static void output_begin(struct quad_stage *qs)
}
-static void output_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void output_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_stencil.c b/src/mesa/pipe/softpipe/sp_quad_stencil.c
index 14aa7df279e..831ad8bad06 100644
--- a/src/mesa/pipe/softpipe/sp_quad_stencil.c
+++ b/src/mesa/pipe/softpipe/sp_quad_stencil.c
@@ -323,9 +323,9 @@ static void stencil_begin(struct quad_stage *qs)
}
-static void stencil_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void stencil_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}
diff --git a/src/mesa/pipe/softpipe/sp_quad_stipple.c b/src/mesa/pipe/softpipe/sp_quad_stipple.c
index 7916dcd0caf..fcbbf00c7db 100644
--- a/src/mesa/pipe/softpipe/sp_quad_stipple.c
+++ b/src/mesa/pipe/softpipe/sp_quad_stipple.c
@@ -65,9 +65,9 @@ static void stipple_begin(struct quad_stage *qs)
}
-static void stipple_destroy(struct quad_stage *qs)
-{
- free( qs );
+static void stipple_destroy(struct quad_stage *qs)
+{
+ FREE( qs );
}