Change RenderTranslucentPass to be a singleton
This commit is contained in:
parent
8b0304c1e3
commit
34f85569b4
8 changed files with 31 additions and 20 deletions
|
|
@ -47,8 +47,11 @@ CVAR(Bool, r_fullbrightignoresectorcolor, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG
|
|||
|
||||
namespace swrenderer
|
||||
{
|
||||
bool RenderTranslucentPass::DrewAVoxel;
|
||||
TArray<DrawSegment *> RenderTranslucentPass::portaldrawsegs;
|
||||
RenderTranslucentPass *RenderTranslucentPass::Instance()
|
||||
{
|
||||
static RenderTranslucentPass instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void RenderTranslucentPass::Deinit()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue