projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae0ecb5
)
Initialize m_context in EGL thread clean up test class
author
Pyry Haulos
<phaulos@google.com>
Fri, 27 May 2016 16:21:19 +0000
(09:21 -0700)
committer
Pyry 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
patch
|
blob
|
history
diff --git
a/modules/egl/teglThreadCleanUpTests.cpp
b/modules/egl/teglThreadCleanUpTests.cpp
index
17b1eb2
..
4d28977
100644
(file)
--- 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)
{
}