egl: simplify EXT_image_dma_buf_import_modifiers attr parsing
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 28 Jun 2017 22:46:11 +0000 (23:46 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Jul 2017 14:42:59 +0000 (15:42 +0100)
commit448f70e36675920ebf1d4489facedd7b78b4b28b
treec1ce56bc6e39846fa0d6ff5adfa1ad65eb5fed98
parent3ee2be4113d9de7429bfaeaee73c11880fd9d5c9
egl: simplify EXT_image_dma_buf_import_modifiers attr parsing

Move the common extension check at the top.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/main/eglimage.c