From 644060c0252d8d377e2be35067b30305b0569653 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 28 Aug 2009 22:33:42 +0100 Subject: i915g: Don't forget to init buffer ptrs --- src/gallium/winsys/drm/intel/gem/intel_be_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/winsys') 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 f58334ffffa..2d8e9f1a24e 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, -- cgit v1.2.3