egl: rename _eglMatchDriver() to _eglInitializeDisplay()
[mesa.git] / src / egl / main / egldriver.c
index f58b00e1a3c15649d2d814c22df374d9b4227a9a..7bbc9470b4143c97f7c4ab63f9ff723ccd98cc0b 100644 (file)
 extern _EGLDriver _eglDriver;
 
 /**
- * Match a display to a driver.  The matching is done by finding the first
- * driver that can initialize the display.
+ * Initialize the display using the driver's function.
+ * If the initialisation fails, try again using only software rendering.
  */
 bool
-_eglMatchDriver(_EGLDisplay *disp)
+_eglInitializeDisplay(_EGLDisplay *disp)
 {
    assert(!disp->Initialized);