mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-17 22:08:27 +02:00
REmove cruft
This commit is contained in:
parent
8923055e91
commit
85b3b883f9
1 changed files with 0 additions and 7 deletions
|
@ -86,10 +86,8 @@ void render::renderStateSortShapes(const RenderContextPointer& renderContext,
|
|||
RenderArgs* args = renderContext->args;
|
||||
|
||||
int numItemsToDraw = (int)inItems.size();
|
||||
int lastItemToDraw = -1;
|
||||
if (maxDrawnItems != -1) {
|
||||
numItemsToDraw = glm::min(numItemsToDraw, maxDrawnItems);
|
||||
lastItemToDraw = numItemsToDraw - 1;
|
||||
}
|
||||
|
||||
using SortedPipelines = std::vector<render::ShapeKey>;
|
||||
|
@ -100,11 +98,6 @@ void render::renderStateSortShapes(const RenderContextPointer& renderContext,
|
|||
|
||||
for (auto i = 0; i < numItemsToDraw; ++i) {
|
||||
auto& item = scene->getItem(inItems[i].id);
|
||||
if (lastItemToDraw == i) {
|
||||
if (!item.getKey().isShape()) {
|
||||
qDebug() << "Item explored";
|
||||
}
|
||||
}
|
||||
{
|
||||
assert(item.getKey().isShape());
|
||||
auto key = item.getShapeKey() | globalKey;
|
||||
|
|
Loading…
Reference in a new issue