1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00

Merge branch 'master' into occlusionquery

Conflicts:
	apps/openmw/CMakeLists.txt
	apps/openmw/mwrender/renderingmanager.hpp
This commit is contained in:
scrawl 2012-03-30 15:00:04 +02:00
commit 30d27fa83f
2 changed files with 18 additions and 18 deletions

View File

@ -160,7 +160,7 @@ namespace MWRender
numTextures,
indexes);
if ( land->landData->usingColours )
if ( land && land->landData->usingColours )
{
// disable or enable global colour map (depends on available vertex colours)
mActiveProfile->setGlobalColourMapEnabled(true);