egl_g3d: Check if the creation of pipe or st context fails.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 14 Jan 2010 09:29:12 +0000 (17:29 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 14 Jan 2010 09:29:48 +0000 (17:29 +0800)
commit81430b95d094f81548b9256bc47a8912d9dfd245
tree78937652fa626176464a736e7a2fe6e3c931cc38
parent6cb89b23eeac50cfb0c5fb8d77e19f869b524eac
egl_g3d: Check if the creation of pipe or st context fails.

It should not return an incomplete EGLContext to the users.
src/gallium/state_trackers/egl_g3d/common/egl_g3d.c