Initialize m_context in EGL thread clean up test class
authorPyry Haulos <phaulos@google.com>
Fri, 27 May 2016 16:21:19 +0000 (09:21 -0700)
committerPyry Haulos <phaulos@google.com>
Fri, 27 May 2016 16:30:35 +0000 (09:30 -0700)
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

index 17b1eb2..4d28977 100644 (file)
@@ -173,6 +173,7 @@ public:
                , m_display                     (EGL_NO_DISPLAY)
                , m_config                      (0)
                , m_surface                     (EGL_NO_SURFACE)
+               , m_context                     (EGL_NO_CONTEXT)
        {
        }