Use FREE instead of free. Fix newlines.

This commit is contained in:
michal
2007-10-27 18:53:38 +01:00
parent a846d7d027
commit f93b9dc09a
12 changed files with 37 additions and 31 deletions

View File

@@ -32,6 +32,8 @@
#define CALLOC_STRUCT(T) (struct T *) calloc(1, sizeof(struct T))
#define FREE( PTR ) free( PTR )
#define CLAMP( X, MIN, MAX ) ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
#define MIN2( A, B ) ( (A)<(B) ? (A) : (B) )
#define MAX2( A, B ) ( (A)>(B) ? (A) : (B) )

View File

@@ -90,7 +90,7 @@ static void alpha_test_begin(struct quad_stage *qs)
static void alpha_test_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -729,7 +729,7 @@ static void blend_begin(struct quad_stage *qs)
static void blend_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -52,7 +52,7 @@ static void cbuf_loop_begin(struct quad_stage *qs)
static void cbuf_loop_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -92,7 +92,7 @@ static void colormask_begin(struct quad_stage *qs)
static void colormask_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -71,7 +71,7 @@ static void coverage_begin(struct quad_stage *qs)
static void coverage_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -233,7 +233,7 @@ static void depth_test_begin(struct quad_stage *qs)
static void depth_test_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -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 );
}

View File

@@ -66,7 +66,7 @@ static void occlusion_begin(struct quad_stage *qs)
static void occlusion_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -72,7 +72,7 @@ static void output_begin(struct quad_stage *qs)
static void output_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -325,7 +325,7 @@ static void stencil_begin(struct quad_stage *qs)
static void stencil_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}

View File

@@ -67,7 +67,7 @@ static void stipple_begin(struct quad_stage *qs)
static void stipple_destroy(struct quad_stage *qs)
{
free( qs );
FREE( qs );
}