- add PolyTriangleDrawer functions for the operations needed by PolyRenderState
This commit is contained in:
parent
3a3de13abd
commit
8db5e72254
6 changed files with 517 additions and 298 deletions
|
|
@ -92,8 +92,6 @@ void PolyFrameBuffer::InitializeState()
|
|||
mRenderState.reset(new PolyRenderState());
|
||||
|
||||
CheckCanvas();
|
||||
|
||||
PolyTriangleDrawer::SetTransform(GetDrawCommands(), GetFrameMemory()->NewObject<Mat4f>(Mat4f::Identity()), nullptr);
|
||||
}
|
||||
|
||||
void PolyFrameBuffer::CheckCanvas()
|
||||
|
|
@ -149,7 +147,6 @@ void PolyFrameBuffer::Update()
|
|||
}
|
||||
|
||||
CheckCanvas();
|
||||
PolyTriangleDrawer::SetTransform(GetDrawCommands(), GetFrameMemory()->NewObject<Mat4f>(Mat4f::Identity()), nullptr);
|
||||
|
||||
Super::Update();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue