Commit 3b968053 by Frank Henigman Committed by Commit Bot

Clean up state in EGLDebugTest.

Reset the EGL error callback for the benefit of following tests. BUG=chromium:880495 Change-Id: Idd94fe032b89b8a0fe829cb4656e4204d9d71b53 Reviewed-on: https://chromium-review.googlesource.com/1208310Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
parent ef6023ea
......@@ -19,6 +19,11 @@ namespace angle
class EGLDebugTest : public ANGLETest
{
protected:
void TearDown() override
{
eglDebugMessageControlKHR(nullptr, nullptr);
}
bool hasExtension() const { return eglClientExtensionEnabled("EGL_KHR_debug"); }
static void EGLAPIENTRY StubCallback(EGLenum error,
......
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