[Mesa-dev] [PATCH mesa] egl: add missing _eglInitDriverFallbacks() call

Eric Engestrom eric at engestrom.ch
Wed Oct 18 18:33:50 UTC 2017


I mistakenly dropped this during a rebase.

Fixes: 8cb84c8477a ("egl: move alloc & init out of
                    _eglBuiltInDriver{DRI2,Haiku}")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103349
Reported-by: Mark Janes <mark.a.janes at intel.com>
Cc: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 src/egl/main/egldriver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 1ff37850e0..f1973bde27 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -58,6 +58,7 @@ _eglGetDriver(void)
       _eglDriver = calloc(1, sizeof(*_eglDriver));
       if (!_eglDriver)
          return NULL;
+      _eglInitDriverFallbacks(_eglDriver);
       _eglInitDriver(_eglDriver);
    }
 
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list