IGraphicsDataToken and IGraphicsCommandQueue::stopRenderer()

This commit is contained in:
Jack Andersen
2015-12-04 14:41:30 -10:00
parent 32d4797ac6
commit d145e15ecb
9 changed files with 81 additions and 28 deletions

View File

@@ -377,7 +377,7 @@ struct TestApplicationCallback : IApplicationCallback
factory->newShaderDataBinding(pipeline, vfmt, vbo, nullptr, nullptr, 0, nullptr, 1, &texture);
/* Commit objects */
IGraphicsData* data = factory->commit();
IGraphicsDataToken data = factory->commit();
/* Return control to client */
lk.unlock();
@@ -458,6 +458,7 @@ struct TestApplicationCallback : IApplicationCallback
}
}
gfxQ->stopRenderer();
m_cv.notify_one();
loaderThread.join();
return 0;