forked from mirror/openmw-tes3mp
Merge branch 'master' into occlusionquery
Conflicts: apps/openmw/CMakeLists.txt apps/openmw/mwrender/renderingmanager.hpp
This commit is contained in:
commit
30d27fa83f
2 changed files with 18 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue