summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/dri/intel/intel_batchbuffer.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-29 16:56:42 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-30 13:46:50 +0200
commit7b0a551c4cebc44cc06face712eb9659ccdebcc9 (patch)
tree0d3c09dc918bc9cf8cbe39057df0db2a4e6ecda6 /src/gallium/winsys/dri/intel/intel_batchbuffer.c
parent3869c3c87a40d9f41414082ad8dd3d747e6b34d8 (diff)
i915: Made batch buffer size much larger
Diffstat (limited to 'src/gallium/winsys/dri/intel/intel_batchbuffer.c')
-rw-r--r--src/gallium/winsys/dri/intel/intel_batchbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_batchbuffer.c b/src/gallium/winsys/dri/intel/intel_batchbuffer.c
index aa2eed53b8..09d4eef484 100644
--- a/src/gallium/winsys/dri/intel/intel_batchbuffer.c
+++ b/src/gallium/winsys/dri/intel/intel_batchbuffer.c
@@ -65,7 +65,7 @@ intel_batchbuffer_reset(struct intel_batchbuffer *batch)
driBOUnrefUserList(batch->list);
driBOResetList(batch->list);
- batch->size = 4 * 4096; // ZZZ JB batch->intel->intelScreen->maxBatchSize;
+ batch->size = batch->intel->intelScreen->max_batch_size;
driBOData(batch->buffer, batch->size, NULL, NULL, 0);
/*