From e3c06a30a11f0a841c54539aae8ddcff46ad2624 Mon Sep 17 00:00:00 2001 From: Sam Gateau Date: Thu, 2 Jul 2015 19:29:09 -0700 Subject: [PATCH] removing dead code --- libraries/render/src/render/DrawStatus.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libraries/render/src/render/DrawStatus.cpp b/libraries/render/src/render/DrawStatus.cpp index b73df702be..3c92e8f0b2 100644 --- a/libraries/render/src/render/DrawStatus.cpp +++ b/libraries/render/src/render/DrawStatus.cpp @@ -143,13 +143,6 @@ void DrawStatus::run(const SceneContextPointer& sceneContext, const RenderContex batch.setViewTransform(viewMat); batch.setModelTransform(Transform()); -/* if (!_drawItemFormat) { - _drawItemFormat.reset(new gpu::Stream::Format()); - _drawItemFormat->setAttribute(0, 0, gpu::Element(gpu::VEC3, gpu::FLOAT, gpu::XYZ), 0, gpu::Stream::PER_INSTANCE); - _drawItemFormat->setAttribute(1, 0, gpu::Element(gpu::VEC3, gpu::FLOAT, gpu::XYZ), sizeof(glm::vec3), gpu::Stream::PER_INSTANCE); - } -*/ - // bind the one gpu::Pipeline we need batch.setPipeline(getDrawItemBoundsPipeline());