Browse Source

egl_dri2: Export dri2_get_driver_for_fd

tags/android-x86-2.2-r2
Benjamin Franzke 14 years ago
parent
commit
9630437fc9
2 changed files with 4 additions and 1 deletions
  1. 3
    0
      src/egl/drivers/dri2/egl_dri2.h
  2. 1
    1
      src/egl/drivers/dri2/platform_drm.c

+ 3
- 0
src/egl/drivers/dri2/egl_dri2.h 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 */

+ 1
- 1
src/egl/drivers/dri2/platform_drm.c 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;

Loading…
Cancel
Save