From 52ea40100fa016de6f61a1b6935dd9eda6568f75 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 3 Jun 2015 02:18:31 +0200 Subject: [PATCH] Correcting scheduling of shadows. --- game/graphics.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/game/graphics.cc b/game/graphics.cc index 0167749..6cb5738 100644 --- a/game/graphics.cc +++ b/game/graphics.cc @@ -364,20 +364,19 @@ void Graphics::render(double time) std::vector, int, int>> renderQueue = std::vector, int, int>>(maxShadowRenderCount); for(unsigned int i = 0; i std::get<1>(renderQueue.at(j))){ if (j(renderQueue.at(i))).currentPriority = 0; } depthCubeShader->use();