egl_dri2: Put the _eglError call in the case switch case
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Jan 2012 17:36:37 +0000 (12:36 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Jan 2012 17:44:58 +0000 (12:44 -0500)
commit513d1feee46d05b71094c60ee09fa263867f25b7
tree66d466eba27f2512863d7ab974513fa57656a5b6
parent3f80b69b5f2093ffc624bb901ce34f0e289bc25d
egl_dri2: Put the _eglError call in the case switch case

Log an error in case we get an unknown format, not in case for XRGB32.
I botched the edit of Roberts patch.
src/egl/drivers/dri2/egl_dri2.c