Commit 9847f9da authored by Mathias Fröhlich's avatar Mathias Fröhlich Committed by Mathias Fröhlich

egl: Fix tests for EGL_EXT_device_base extension list use.

The test uses different gl contexts thus the pointers into the extensions
string needs to be invalidated for each new context.
Reviewed-by: 's avatarMarek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich's avatarMathias Froehlich <Mathias.Froehlich@web.de>
parent 1bc26f6e
Pipeline #32762 passed with stage
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment