- added a RenderState virtual to the FrameBuffer class.

This commit is contained in:
Christoph Oelckers 2020-04-24 16:15:18 +02:00
commit 90585c4931
7 changed files with 22 additions and 1 deletions

View file

@ -530,6 +530,12 @@ void PolyFrameBuffer::CleanForRestart()
swdrawer.reset();
}
FRenderState* PolyFrameBuffer::RenderState()
{
return mRenderState.get();
}
void PolyFrameBuffer::PrecacheMaterial(FMaterial *mat, int translation)
{
if (mat->Source()->GetUseType() == ETextureType::SWCanvas) return;