diff options
author | Jakob Bornecrantz <[email protected]> | 2009-01-18 15:35:50 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-01-18 15:35:50 +0100 |
commit | a874cf37ee2a792991819cad2cb73e3d2ddc87a3 (patch) | |
tree | d8f99bc6411c04cfb2014c52cbefb40d1aaf51af /src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c | |
parent | 94ddd621d13310aca229ab64a86aee3d4db680e8 (diff) |
i915: Update gem backend a bit
Diffstat (limited to 'src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c index 23999106138..af5c0277484 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c @@ -12,6 +12,7 @@ intel_be_batchbuffer_alloc(struct intel_be_context *intel) { struct intel_be_batchbuffer *batch = CALLOC_STRUCT(intel_be_batchbuffer); + batch->base.buffer = NULL; batch->base.winsys = &intel->base; batch->base.map = NULL; @@ -28,7 +29,7 @@ intel_be_batchbuffer_alloc(struct intel_be_context *intel) intel_be_batchbuffer_reset(batch); - return NULL; + return batch; } void |