diff options
author | Dave Airlie <airlied@gmail.com> | 2015-03-16 15:21:55 +1000 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2015-03-19 08:28:38 +1000 |
commit | 37e3a116f8ae09d0fa894d126d081a1af24ec14f (patch) | |
tree | 9e81b4bccbc494f1e375993b0b09ca7730072fda /src/egl | |
parent | cebc62f1060c815e3b5a1bd3728c3d909db3d2b8 (diff) | |
download | external_mesa3d-37e3a116f8ae09d0fa894d126d081a1af24ec14f.zip external_mesa3d-37e3a116f8ae09d0fa894d126d081a1af24ec14f.tar.gz external_mesa3d-37e3a116f8ae09d0fa894d126d081a1af24ec14f.tar.bz2 |
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>
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/eglapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index e224560..6031a7a 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; } |