egl: Drop configs with unknown or invalide __DRI_ATTRIB_RENDER_TYPE
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Jul 2013 22:13:45 +0000 (15:13 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Jul 2013 23:03:42 +0000 (16:03 -0700)
commit74cbe6e49764aa3b059481344a77cdfdb8376d69
treed4997517cbecf6ca822337aa7ca82df9c43f018a
parentc37c367d389d083b91521e1378942d83122d5329
egl: Drop configs with unknown or invalide __DRI_ATTRIB_RENDER_TYPE

Some render types, such as floating-point, aren't valid with EGL.
Return NULL in those cases to drop them.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/egl/drivers/dri2/egl_dri2.c