egl_dri2: Only allocate config if we're going to keep it
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Feb 2010 02:01:04 +0000 (21:01 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Feb 2010 02:24:15 +0000 (21:24 -0500)
commitc19dab7c5929bc70633002111bbb2b496a90899e
treed138b8b14453206e4f23e993f3d500881dc1bdba
parentc3c1a7e1d9357a6ba5b8092b3b0b9c873737e53d
egl_dri2: Only allocate config if we're going to keep it

Small optimization.
src/egl/drivers/dri2/egl_dri2.c