egl_dri2: Compare configs before matching them
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Sat, 11 Jun 2011 21:00:40 +0000 (23:00 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 12 Jun 2011 12:56:35 +0000 (08:56 -0400)
commit16e30276e843b6f788aee75547136ea24e4a4248
tree13a4e184026dc3a8a0bc9b9b099caee8e5216182
parenta23bf646bdeb72381e7f2bc784d47748cdd7d1ce
egl_dri2: Compare configs before matching them

This compares attribs like buffer size, and will prevent merging
unequal configs because of match criterion is e.g. ATLEAST.
src/egl/drivers/dri2/egl_dri2.c