};
m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
- m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribList);
+ m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribList);
m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
while (true)
{
- int firstThread = -1;
+ int firstThread = -1;
// Find first thread with messages
for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
};
m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
- m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribList);
+ m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribList);
m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
int readyThreads = 0;
for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
{
- if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING)
+ const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus();
+
+ if (status != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING && status != tcu::ThreadUtil::Thread::THREADSTATUS_NOT_STARTED)
readyThreads++;
}
while (true)
{
- int firstThread = -1;
+ int firstThread = -1;
// Find first thread with messages
for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)