Remove context->enqueueBatch from RenderableBoxEntityItem

This commit is contained in:
Ryan Huffman 2015-05-22 09:59:34 -07:00
parent 5ac02f66ca
commit 66dc555ba9

View file

@ -11,7 +11,6 @@
#include <glm/gtx/quaternion.hpp>
#include <gpu/GLBackend.h>
#include <gpu/GPUConfig.h>
#include <gpu/Batch.h>
@ -45,7 +44,6 @@ void RenderableBoxEntityItem::render(RenderArgs* args) {
} else {
DependencyManager::get<DeferredLightingEffect>()->renderSolidCube(batch, 1.0f, cubeColor);
}
args->_context->enqueueBatch(batch);
RenderableDebugableEntityItem::render(this, args);
};