From e12d5fa7246dca6af962249786ec7396129945d1 Mon Sep 17 00:00:00 2001 From: Pyry Haulos Date: Fri, 27 May 2016 09:21:19 -0700 Subject: [PATCH] Initialize m_context in EGL thread clean up test class This causes a crash when generating test case lists on null driver if m_context ends up being some non-0 value. Change-Id: I377af85a636a71366f4da8f4b00fccde979e91f3 --- modules/egl/teglThreadCleanUpTests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/egl/teglThreadCleanUpTests.cpp b/modules/egl/teglThreadCleanUpTests.cpp index 17b1eb2..4d28977 100644 --- a/modules/egl/teglThreadCleanUpTests.cpp +++ b/modules/egl/teglThreadCleanUpTests.cpp @@ -173,6 +173,7 @@ public: , m_display (EGL_NO_DISPLAY) , m_config (0) , m_surface (EGL_NO_SURFACE) + , m_context (EGL_NO_CONTEXT) { } -- 2.7.4