Added multisample support to FGLRenderBuffers and added gl_multisample to the menus

This commit is contained in:
Magnus Norddahl 2016-07-30 15:33:30 +02:00
commit cfc20d1198
7 changed files with 223 additions and 37 deletions

View file

@ -868,6 +868,7 @@ sector_t * FGLRenderer::RenderViewpoint (AActor * camera, GL_IRECT * bounds, flo
if (mainview) EndDrawScene(retval); // do not call this for camera textures.
if (toscreen)
{
if (FGLRenderBuffers::IsEnabled()) mBuffers->BlitSceneToTexture();
BloomScene();
TonemapScene();
}