i915: Check return value of screen->image.loader->getBuffers
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 24 Aug 2016 11:50:33 +0000 (12:50 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 30 Aug 2016 13:50:47 +0000 (14:50 +0100)
commit5de640a5185ce831b9a7ae86c6fc0da3b0adbb48
tree37aa8c2f4eae71fc749b7c6f4af548c5fcb394c5
parent4f5f9575d079376544a2ff70fb19f1dca417a931
i915: Check return value of screen->image.loader->getBuffers

Ported from the i965 commit e7ab358e8186dd8651cf920d4db1500c60ccd2fc.

Cc: 11.2 12.0 <mesa-stable@lists.freedesktop.org>
Cc: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/mesa/drivers/dri/i915/intel_context.c