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:
commit
30d27fa83f
@ -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…
x
Reference in New Issue
Block a user