egl_dri2: Use createContextAttribs if DRI2 version >= 3
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 18 Jul 2012 21:41:28 +0000 (14:41 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 14 Aug 2012 22:41:02 +0000 (15:41 -0700)
commitce55741cbc0837338b73f9112ab4d84363ebaee1
tree8cef6632aaa8cb4bdad84384e031d2f6b82c4a2e
parent38f91f2b08e2457fa637c631490fe713e8ee5429
egl_dri2: Use createContextAttribs if DRI2 version >= 3

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/egl/drivers/dri2/egl_dri2.c