egl: Add an optional function call for getting the DRI driver interface.
authorEric Anholt <eric@anholt.net>
Tue, 24 Sep 2013 18:05:22 +0000 (11:05 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 24 Oct 2013 21:04:20 +0000 (14:04 -0700)
commita64bb7553a9eb2f8ff57198b346475e9d652fda7
tree94c117dd56944f498e37c165bff24cde8c986cbb
parentfcb57a8210e819cc14a39c79f23530eb22296da0
egl: Add an optional function call for getting the DRI driver interface.

v2: Fix asprintf error checking.

Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/egl_dri2.c