summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2009-03-04 22:04:17 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2009-03-05 00:10:11 +0100
commit5aa356d3e454c78332cd9faa01cd6dc24579e46c (patch)
treee59c73881a1a923c7faaef0c789a87514a01d398 /src/gallium/winsys/drm
parent2fcfa1ac0ee5f177c3760d63eaa633e004a11507 (diff)
intel: Fixup from refcount changes
Diffstat (limited to 'src/gallium/winsys/drm')
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_be_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_device.c b/src/gallium/winsys/drm/intel/gem/intel_be_device.c
index de13fb39c7..0f6300323b 100644
--- a/src/gallium/winsys/drm/intel/gem/intel_be_device.c
+++ b/src/gallium/winsys/drm/intel/gem/intel_be_device.c
@@ -155,6 +155,7 @@ intel_be_buffer_from_handle(struct pipe_screen *screen,
goto err;
pipe_reference_init(&buffer->base.reference, 1);
+ buffer->base.screen = screen;
buffer->base.alignment = buffer->bo->align;
buffer->base.usage = PIPE_BUFFER_USAGE_GPU_READ |
PIPE_BUFFER_USAGE_GPU_WRITE |