intel: Fixup from refcount changes
authorJakob Bornecrantz <wallbraker@gmail.com>
Wed, 4 Mar 2009 21:04:17 +0000 (22:04 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Wed, 4 Mar 2009 23:10:11 +0000 (00:10 +0100)
src/gallium/winsys/drm/intel/gem/intel_be_device.c

index de13fb39c7e091373f694514514bd8e9050679d0..0f6300323b0f460e08a6f3e33cf5a5ba854a0697 100644 (file)
@@ -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 |