Move frame memory allocator into RenderThread
This commit is contained in:
parent
627a388d57
commit
45f623faf4
17 changed files with 49 additions and 44 deletions
|
|
@ -47,11 +47,13 @@
|
|||
#include "swrenderer/plane/r_visibleplanelist.h"
|
||||
#include "swrenderer/segments/r_drawsegment.h"
|
||||
#include "swrenderer/segments/r_clipsegment.h"
|
||||
#include "r_memory.h"
|
||||
|
||||
namespace swrenderer
|
||||
{
|
||||
RenderThread::RenderThread()
|
||||
{
|
||||
FrameMemory = std::make_unique<RenderMemory>();
|
||||
OpaquePass = std::make_unique<RenderOpaquePass>(this);
|
||||
TranslucentPass = std::make_unique<RenderTranslucentPass>(this);
|
||||
SpriteList = std::make_unique<VisibleSpriteList>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue