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:
06e0859
)
Fix crash in EGL render tests
author
Pyry Haulos
<phaulos@google.com>
Mon, 6 Apr 2015 23:29:19 +0000
(16:29 -0700)
committer
Pyry Haulos
<phaulos@google.com>
Mon, 6 Apr 2015 23:29:19 +0000
(16:29 -0700)
Caused by not calling MultiContextRenderCase::init() in derived class.
Change-Id: I5ffcaac82b43d9fe1120b4c7a6825a429e8fc274
modules/egl/teglRenderTests.cpp
patch
|
blob
|
history
diff --git
a/modules/egl/teglRenderTests.cpp
b/modules/egl/teglRenderTests.cpp
index
b1e97f3
..
19a970b
100644
(file)
--- a/
modules/egl/teglRenderTests.cpp
+++ b/
modules/egl/teglRenderTests.cpp
@@
-627,6
+627,7
@@
SingleThreadRenderCase::SingleThreadRenderCase (EglTestContext& eglTestCtx, cons
void SingleThreadRenderCase::init (void)
{
+ MultiContextRenderCase::init();
m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
}
@@
-822,6
+823,7
@@
MultiThreadRenderCase::MultiThreadRenderCase (EglTestContext& eglTestCtx, const
void MultiThreadRenderCase::init (void)
{
+ MultiContextRenderCase::init();
m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
}