mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fix assert on exit when Basic Lighting is removed
Occurs because ShadowMapManager is destroyed before AdvancedLightManager.
This commit is contained in:
parent
59c81f9179
commit
e67e87cfac
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ GFX_ImplementTextureProfile(ShadowMapTexProfile,
|
|||
|
||||
|
||||
MODULE_BEGIN( ShadowMapManager )
|
||||
#ifndef TORQUE_BASIC_LIGHTING
|
||||
MODULE_SHUTDOWN_AFTER(Scene)
|
||||
#endif
|
||||
|
||||
MODULE_INIT
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue