From: Mathias Fröhlich <mathias.froehl...@web.de>

The test uses different gl contexts thus the pointers into the extensions
string needs to be invalidated for each new context.

Signed-off-by: Mathias Froehlich <mathias.froehl...@web.de>
---
 tests/egl/spec/egl_ext_device_base/egl_ext_device_base.c | 3 +++
 1 file changed, 3 insertions(+)

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
index 445f4f61c..78e1ab690 100644
--- 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
@@ -196,6 +196,7 @@ pbuffer_test(EGLDisplay dpy)
                return PIGLIT_FAIL;
        }

+       piglit_gl_invalidate_extensions();
        piglit_dispatch_default_init(PIGLIT_DISPATCH_GL);

        /* Do the actual test */
@@ -260,6 +261,7 @@ surfaceless_test(EGLDisplay dpy)
                return PIGLIT_FAIL;
        }

+       piglit_gl_invalidate_extensions();
        piglit_dispatch_default_init(PIGLIT_DISPATCH_GL);

        /* Do the actual test */
@@ -306,6 +308,7 @@ configless_test(EGLDisplay dpy)
                return PIGLIT_FAIL;
        }

+       piglit_gl_invalidate_extensions();
        piglit_dispatch_default_init(PIGLIT_DISPATCH_GL);

        /* Do the actual test */
--
2.20.1

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to