- route the BlurScene call in the menu through DFrameBuffer.
Game code should never ever call the renderer directly. This must be done through the video interface so that it can also work with other framebuffers later.
This commit is contained in:
parent
2962fe9f08
commit
1656bbf9ec
5 changed files with 9 additions and 5 deletions
|
|
@ -382,6 +382,11 @@ void OpenGLFrameBuffer::ResetFixedColormap()
|
|||
}
|
||||
}
|
||||
|
||||
void OpenGLFrameBuffer::BlurScene(float amount)
|
||||
{
|
||||
GLRenderer->BlurScene(amount);
|
||||
}
|
||||
|
||||
bool OpenGLFrameBuffer::RenderBuffersEnabled()
|
||||
{
|
||||
return FGLRenderBuffers::IsEnabled();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue