Merge branch 'master' of github.com:supertuxkart/stk-code into new_login

Conflicts:
	src/utils/profiler.cpp
This commit is contained in:
hiker 2014-02-17 09:41:55 +11:00
commit 7a1670bc8a
3 changed files with 5 additions and 1 deletions

View File

@ -214,13 +214,14 @@ void IrrDriver::renderGLSL(float dt)
// Used to cull glowing items & lights
const core::aabbox3df cambox = camnode->getViewFrustum()->getBoundingBox();
PROFILER_PUSH_CPU_MARKER("- Shadow", 0x30, 0x6F, 0x90);
// Shadows
if (!m_mipviz && !m_wireframe && UserConfigParams::m_shadows)
//&& World::getWorld()->getTrack()->hasShadows())
{
renderShadows(camnode, camera);
}
PROFILER_POP_CPU_MARKER();
PROFILER_PUSH_CPU_MARKER("- Light", 0x00, 0xFF, 0x00);

View File

@ -22,6 +22,8 @@
#include "guiengine/engine.hpp"
#include "guiengine/scalable_font.hpp"
#include "io/utf_writer.hpp"
#include "utils/vs.hpp"
#include <assert.h>
#include <stack>
#include <sstream>

View File

@ -8,5 +8,6 @@
# define isnan _isnan
# define roundf(x) (floorf(x + 0.5f))
# define round(x) (floorf(x + 0.5))
#endif