summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-09-15 13:09:05 +1000
committerDave Airlie <[email protected]>2012-09-15 18:03:03 +1000
commit36639ec6e9a2758e344235fbdc1450719d8851e3 (patch)
tree5697cd4cb4cb9a19c91bdc434d5067bde1431ebd /src/mesa/drivers/common/meta.c
parent7056193a4311f09de5e7280ce474aeec88865d2f (diff)
meta: make mem_ctx non-global.
I can't see any external users, and this is a global symbol, Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.c')
-rw-r--r--src/mesa/drivers/common/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 677548e94eb..ff701ba871b 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -78,7 +78,7 @@
#include "main/glformats.h"
#include "../glsl/ralloc.h"
-
+static void *mem_ctx;
/** Return offset in bytes of the field within a vertex struct */
#define OFFSET(FIELD) ((void *) offsetof(struct vertex, FIELD))