egl_dri2: Export dri2_get_driver_for_fd

This commit is contained in:
Benjamin Franzke
2011-02-04 12:38:58 +01:00
parent a8128d7d4b
commit 9630437fc9
2 changed files with 4 additions and 1 deletions

View File

@@ -136,4 +136,7 @@ dri2_initialize_x11(_EGLDriver *drv, _EGLDisplay *disp);
EGLBoolean
dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp);
char *
dri2_get_driver_for_fd(int fd);
#endif /* EGL_DRI2_INCLUDED */

View File

@@ -567,7 +567,7 @@ const struct dri2_driver_map driver_map[] = {
{ 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
};
static char *
char *
dri2_get_driver_for_fd(int fd)
{
struct udev *udev;