Mobile: Fix lightmap instances count
This commit is contained in:
parent
3b963ab8b6
commit
fe1d499aa4
@ -3320,7 +3320,7 @@ RenderForwardMobile::RenderForwardMobile() {
|
|||||||
|
|
||||||
{
|
{
|
||||||
//lightmaps
|
//lightmaps
|
||||||
scene_state.max_lightmaps = 2;
|
scene_state.max_lightmaps = MAX_LIGHTMAPS;
|
||||||
defines += "\n#define MAX_LIGHTMAP_TEXTURES " + itos(scene_state.max_lightmaps) + "\n";
|
defines += "\n#define MAX_LIGHTMAP_TEXTURES " + itos(scene_state.max_lightmaps) + "\n";
|
||||||
defines += "\n#define MAX_LIGHTMAPS " + itos(scene_state.max_lightmaps) + "\n";
|
defines += "\n#define MAX_LIGHTMAPS " + itos(scene_state.max_lightmaps) + "\n";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user