From bcd2e8559e857982fdd8a8afcf688b6374962da2 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Fri, 6 Jul 2018 15:39:11 -0400 Subject: [PATCH] Remove extra copy of Queue in GL backend. (#213) --- src/backend/opengl/DeviceGL.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/backend/opengl/DeviceGL.cpp b/src/backend/opengl/DeviceGL.cpp index 008f8ece24..35ae70a752 100644 --- a/src/backend/opengl/DeviceGL.cpp +++ b/src/backend/opengl/DeviceGL.cpp @@ -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