targets/egl-static: refactor drm_fd_get_screen_name
authorChia-I Wu <olvaffe@gmail.com>
Sat, 25 Jun 2011 22:58:16 +0000 (07:58 +0900)
committerChia-I Wu <olv@lunarg.com>
Sat, 25 Jun 2011 23:17:52 +0000 (08:17 +0900)
commit450f48627684c6ea1472b4fdd51c6fc121f2bc9c
tree6f0225f688b0c1d280e0edf1ed295e6dec694046
parented47d65c7c05d7dd5a5b4cafaa32afbd4fff0bef
targets/egl-static: refactor drm_fd_get_screen_name

Add drm_fd_get_pci_id to get the PCI ID.  Fix a leak with udev on error.
src/gallium/targets/egl-static/egl.c