- add post processing support to the software renderer and softpoly

This commit is contained in:
Magnus Norddahl 2018-08-04 14:58:55 +02:00
commit 48c83d36b5
4 changed files with 17 additions and 2 deletions

View file

@ -479,3 +479,8 @@ void OpenGLFrameBuffer::Draw2D()
{
if (GLRenderer != nullptr) GLRenderer->Draw2D(&m2DDrawer);
}
void OpenGLFrameBuffer::PostProcessScene(int fixedcm, const std::function<void()> &afterBloomDrawEndScene2D)
{
GLRenderer->PostProcessScene(fixedcm, afterBloomDrawEndScene2D);
}