summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-06-03 12:35:01 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-06-03 12:35:01 +0200
commitafd635a95056abc0909ebd1503131660d6e78cf6 (patch)
tree45c31705d571666d3ce69b99c961ac311684c24c /src/gallium/winsys
parent6a3aab1983d999a3a9eccbeaab88195820abf467 (diff)
i915: Fix compile on linux-dri-debug
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/dri/intel/intel_batchbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_batchbuffer.h b/src/gallium/winsys/dri/intel/intel_batchbuffer.h
index dcb2121ddf..abb7a624f5 100644
--- a/src/gallium/winsys/dri/intel/intel_batchbuffer.h
+++ b/src/gallium/winsys/dri/intel/intel_batchbuffer.h
@@ -88,7 +88,7 @@ intel_batchbuffer_space(struct intel_batchbuffer *batch)
static INLINE void
intel_batchbuffer_emit_dword(struct intel_batchbuffer *batch, GLuint dword)
{
- assert(batch->map);
+ assert(batch->base.map);
assert(intel_batchbuffer_space(batch) >= 4);
*(GLuint *) (batch->base.ptr) = dword;
batch->base.ptr += 4;
@@ -100,7 +100,7 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
{
struct _DriFenceObject *fence;
- assert(sz < batch->size - 8);
+ assert(sz < batch->base.size - 8);
if (intel_batchbuffer_space(batch) < sz ||
(batch->flags != 0 && flags != 0 && batch->flags != flags)) {
fence = intel_batchbuffer_flush(batch);