diff options
author | Michal <michal@tungstengraphics.com> | 2007-11-17 14:26:24 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2007-11-22 11:18:02 +0000 |
commit | 5961732c1b59403b4e736fa354a64d4a0e5d8af2 (patch) | |
tree | 2b2e7ca173417f9a924079ec9849ad889acbfce4 /src/mesa/pipe/i915simple/i915_context.c | |
parent | 4541ee5343df7c3ca937e088a85ec3f62970d318 (diff) |
Make it compile under Win32.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.c')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.c b/src/mesa/pipe/i915simple/i915_context.c index e43274dc66..a0ed3032b1 100644 --- a/src/mesa/pipe/i915simple/i915_context.c +++ b/src/mesa/pipe/i915simple/i915_context.c @@ -175,7 +175,7 @@ static void i915_destroy( struct pipe_context *pipe ) draw_destroy( i915->draw ); - free( i915 ); + FREE( i915 ); } @@ -341,7 +341,7 @@ struct pipe_context *i915_create( struct pipe_winsys *pipe_winsys, */ i915->draw = draw_create(); assert(i915->draw); - if (getenv("I915_VBUF")) { + if (GETENV("I915_VBUF")) { draw_set_rasterize_stage(i915->draw, i915_draw_vbuf_stage(i915)); } else { |