egl: fix the EGL_MESA_image_dma_buf_export header declarations
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 11 May 2015 22:43:47 +0000 (23:43 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 May 2015 21:00:04 +0000 (21:00 +0000)
commitf9bf9133ccc3764dc38f6359a26004e12b888af3
tree6dbdc6070d0cf3bed27cf0752caffda746322bbf
parent97909881234dc32fdbe2baa889997af540c4464e
egl: fix the EGL_MESA_image_dma_buf_export header declarations

Similar to other EGL extensions - guard the function prototypes by
EGL_EGLEXT_PROTOTYPES as the libEGL library does (should) not provide
the symbols statically.

Instead users should call eglGetProcAddress, which returns the function
pointer. The latter of which was missing the type declaration (typedef).

Cc: Dave Airlie <airlied@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
include/EGL/eglmesaext.h