Remove extra copy of Queue in GL backend. (#213)
This commit is contained in:
parent
11fc210487
commit
bcd2e8559e
|
@ -111,15 +111,4 @@ namespace backend { namespace opengl {
|
||||||
void Device::TickImpl() {
|
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
|
}} // namespace backend::opengl
|
||||||
|
|
Loading…
Reference in New Issue