From 37e3a116f8ae09d0fa894d126d081a1af24ec14f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 16 Mar 2015 15:21:55 +1000 Subject: [PATCH] egl: don't fill client apis string forever. We never reset the string on eglTerminate, so it grows for ever on multiple eglInitialise. Reviewed-by: Brian Paul Reviewed-by: Matt Turner Signed-off-by: Dave Airlie --- src/egl/main/eglapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index e2245606a8b..6031a7ad8dc 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -514,6 +514,7 @@ eglTerminate(EGLDisplay dpy) drv->API.Terminate(drv, disp); /* do not reset disp->Driver */ + disp->ClientAPIsString[0] = 0; disp->Initialized = EGL_FALSE; } -- 2.30.2