diff options
-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 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, |