egl: don't fill client apis string forever.
authorDave Airlie <airlied@gmail.com>
Mon, 16 Mar 2015 05:21:55 +0000 (15:21 +1000)
committerDave Airlie <airlied@gmail.com>
Wed, 18 Mar 2015 22:28:38 +0000 (08:28 +1000)
commit37e3a116f8ae09d0fa894d126d081a1af24ec14f
tree9e81b4bccbc494f1e375993b0b09ca7730072fda
parentcebc62f1060c815e3b5a1bd3728c3d909db3d2b8
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>
src/egl/main/eglapi.c