summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_util.h
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/p_util.h
parenta846d7d0273e879371b69f1bbcb8a6698a24a903 (diff)
Use FREE instead of free. Fix newlines.
Diffstat (limited to 'src/mesa/pipe/p_util.h')
-rw-r--r--src/mesa/pipe/p_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h
index 436bda2139..319bb790ae 100644
--- a/src/mesa/pipe/p_util.h
+++ b/src/mesa/pipe/p_util.h
@@ -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) )