From: Jakob Bornecrantz Date: Wed, 4 Mar 2009 21:04:17 +0000 (+0100) Subject: intel: Fixup from refcount changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5aa356d3e454c78332cd9faa01cd6dc24579e46c;p=mesa.git intel: Fixup from refcount changes --- 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 de13fb39c7e..0f6300323b0 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 |