projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cebc62f
)
egl: don't fill client apis string forever.
author
Dave Airlie
<airlied@gmail.com>
Mon, 16 Mar 2015 05:21:55 +0000
(15:21 +1000)
committer
Dave Airlie
<airlied@gmail.com>
Wed, 18 Mar 2015 22:28:38 +0000
(08:28 +1000)
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
patch
|
blob
|
history
diff --git
a/src/egl/main/eglapi.c
b/src/egl/main/eglapi.c
index e2245606a8b608eb4dab7ed44f8aa71e3a7c6f65..6031a7ad8dca9f1a5785a4eeb1c929f766d28ab4 100644
(file)
--- 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;
}