Make RenderScene the work dispatching class

This commit is contained in:
Magnus Norddahl 2017-02-04 14:00:21 +01:00
commit 5bae06a3c6
9 changed files with 47 additions and 43 deletions

View file

@ -282,5 +282,5 @@ DrawerCommandQueue::DrawerCommandQueue(swrenderer::RenderThread *renderthread) :
void *DrawerCommandQueue::AllocMemory(size_t size)
{
return renderthread->FrameMemory->AllocMemory<uint8_t>(size);
return renderthread->FrameMemory->AllocMemory<uint8_t>((int)size);
}