/**
* Given a card number, use sysfs to determine the DRI driver name.
*/
-static const char *
+const char *
_eglChooseDRMDriver(int card)
{
#if 0
void *handle = drv->LibHandle;
EGLBoolean b;
- _eglLog(_EGL_INFO, "Closing driver");
+ _eglLog(_EGL_DEBUG, "Closing %s", drv->Name);
/*
* XXX check for currently bound context/surfaces and delete them?
extern _EGLDriver *_eglMain(_EGLDisplay *dpy, const char *args);
+extern const char *
+_eglChooseDRMDriver(int card);
+
extern const char *
_eglChooseDriver(_EGLDisplay *dpy);