mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-05-30 16:51:34 +00:00
- moved the global 'no dynamic lights' variable to FLevelLocals so that it is outside renderer specific data.
This commit is contained in:
parent
583da7f6cf
commit
43b491ea33
11 changed files with 25 additions and 27 deletions
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include "hw_dynlightdata.h"
|
||||
|
||||
// If we want to share the array to avoid constant allocations it needs to be thread local unless it'd be littered with expensive synchronization.
|
||||
thread_local FDynLightData lightdata;
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue