mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
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 <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
cebc62f106
commit
37e3a116f8
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue