diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-08-28 22:33:42 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-08-28 22:41:52 +0100 |
commit | 644060c0252d8d377e2be35067b30305b0569653 (patch) | |
tree | d9fec1c5d23388140a314366b7fdeea4032703f6 /src/gallium | |
parent | aaedd035ca90d20efdc75a4123c99baaf8d20dc9 (diff) |
i915g: Don't forget to init buffer ptrs
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_device.c | 4 |
1 files changed, 2 insertions, 2 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 f58334ffff..2d8e9f1a24 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_device.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_device.c @@ -286,7 +286,7 @@ intel_be_shared_handle_from_texture(struct drm_api *api, unsigned *pitch, unsigned *handle) { - struct pipe_buffer *buffer; + struct pipe_buffer *buffer = NULL; struct intel_be_buffer *buf; if (!intel_be_get_texture_buffer(api, texture, @@ -315,7 +315,7 @@ intel_be_local_handle_from_texture(struct drm_api *api, unsigned *pitch, unsigned *handle) { - struct pipe_buffer *buffer; + struct pipe_buffer *buffer = NULL; if (!intel_be_get_texture_buffer(api, texture, &buffer, |