mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-16 06:30:29 +01:00
egl: make _eglChooseDRMDriver() non-static
This commit is contained in:
parent
f6e030f531
commit
47ddcd2a71
2 changed files with 5 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ static const char *SysFS = "/sys/class";
|
|||
/**
|
||||
* Given a card number, use sysfs to determine the DRI driver name.
|
||||
*/
|
||||
static const char *
|
||||
const char *
|
||||
_eglChooseDRMDriver(int card)
|
||||
{
|
||||
#if 0
|
||||
|
|
@ -214,7 +214,7 @@ _eglCloseDriver(_EGLDriver *drv, EGLDisplay dpy)
|
|||
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?
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ struct _egl_driver
|
|||
extern _EGLDriver *_eglMain(_EGLDisplay *dpy, const char *args);
|
||||
|
||||
|
||||
extern const char *
|
||||
_eglChooseDRMDriver(int card);
|
||||
|
||||
extern const char *
|
||||
_eglChooseDriver(_EGLDisplay *dpy);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue