<div dir="ltr"><div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>></div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2019 at 4:01 PM <<a href="mailto:Mathias.Froehlich@gmx.net">Mathias.Froehlich@gmx.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Mathias Fröhlich <<a href="mailto:mathias.froehlich@web.de" target="_blank">mathias.froehlich@web.de</a>><br>
<br>
The test uses different gl contexts thus the pointers into the extensions<br>
string needs to be invalidated for each new context.<br>
<br>
Signed-off-by: Mathias Froehlich <<a href="mailto:Mathias.Froehlich@web.de" target="_blank">Mathias.Froehlich@web.de</a>><br>
---<br>
 tests/egl/spec/egl_ext_device_base/egl_ext_device_base.c | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/tests/egl/spec/egl_ext_device_base/egl_ext_device_base.c b/tests/egl/spec/egl_ext_device_base/egl_ext_device_base.c<br>
index 445f4f61c..78e1ab690 100644<br>
--- a/tests/egl/spec/egl_ext_device_base/egl_ext_device_base.c<br>
+++ b/tests/egl/spec/egl_ext_device_base/egl_ext_device_base.c<br>
@@ -196,6 +196,7 @@ pbuffer_test(EGLDisplay dpy)<br>
                return PIGLIT_FAIL;<br>
        }<br>
<br>
+       piglit_gl_invalidate_extensions();<br>
        piglit_dispatch_default_init(PIGLIT_DISPATCH_GL);<br>
<br>
        /* Do the actual test */<br>
@@ -260,6 +261,7 @@ surfaceless_test(EGLDisplay dpy)<br>
                return PIGLIT_FAIL;<br>
        }<br>
<br>
+       piglit_gl_invalidate_extensions();<br>
        piglit_dispatch_default_init(PIGLIT_DISPATCH_GL);<br>
<br>
        /* Do the actual test */<br>
@@ -306,6 +308,7 @@ configless_test(EGLDisplay dpy)<br>
                return PIGLIT_FAIL;<br>
        }<br>
<br>
+       piglit_gl_invalidate_extensions();<br>
        piglit_dispatch_default_init(PIGLIT_DISPATCH_GL);<br>
<br>
        /* Do the actual test */<br>
--<br>
2.20.1<br>
<br>
</blockquote></div>