dri3: fix image extension checking.
authorDave Airlie <airlied@gmail.com>
Fri, 27 Jun 2014 01:38:21 +0000 (11:38 +1000)
committerDave Airlie <airlied@gmail.com>
Fri, 27 Jun 2014 01:39:34 +0000 (11:39 +1000)
commite4419913bf0b12e33e91f1947295b67eff0d341e
tree85733a062bb2d60b45359927e0e6f9a039295aa2
parentb4dcf87f34f68111acd9d364739938721fc692f4
dri3: fix image extension checking.

Move the image extension setup in with all the others in
bind_extensions, and improve the check to both version
and function pointer.

Reviewed-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glx/dri3_glx.c