Remove extra copy of Queue in GL backend. (#213)

This commit is contained in:
Stephen White 2018-07-06 15:39:11 -04:00 committed by GitHub
parent 11fc210487
commit bcd2e8559e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -111,15 +111,4 @@ namespace backend { namespace opengl {
void Device::TickImpl() {
}
// Queue
Queue::Queue(Device* device) : QueueBase(device) {
}
void Queue::Submit(uint32_t numCommands, CommandBuffer* const* commands) {
for (uint32_t i = 0; i < numCommands; ++i) {
commands[i]->Execute();
}
}
}} // namespace backend::opengl