summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple/i915_context.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.(none)>2008-06-02 14:55:06 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-06-02 17:24:30 +0200
commit4ee14279f3a466093869f1f40819e6c6d5af378d (patch)
tree1ef05ca525c4bdb073e8b15c22f86274f6df2341 /src/gallium/drivers/i915simple/i915_context.c
parent5a67df6d7cc8c74bfb71a8f19b8f6fdfb525091b (diff)
i915: Rework of batchbuffer code
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_context.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_context.c b/src/gallium/drivers/i915simple/i915_context.c
index 81cab75738..378e4a5d4d 100644
--- a/src/gallium/drivers/i915simple/i915_context.c
+++ b/src/gallium/drivers/i915simple/i915_context.c
@@ -181,7 +181,8 @@ struct pipe_context *i915_create_context( struct pipe_screen *screen,
/* Batch stream debugging is a bit hacked up at the moment:
*/
- i915->batch_start = NULL;
+ i915->batch = CALLOC_STRUCT(i915_batchbuffer);
+ i915->batch->winsys = i915_winsys;
return &i915->pipe;
}