- moved the screen blending code out of the renderer.

This is better be made part of the 2D interface.
That would have been done long ago if it hadn't been for the totally incompatible way this was handled by the purely paletted software renderer.
Now with that out of the way there is no point keeping this code this deeply embedded in the renderer.
This commit is contained in:
Christoph Oelckers 2018-05-05 11:20:37 +02:00
commit de15b589c0
13 changed files with 140 additions and 175 deletions

View file

@ -210,10 +210,11 @@ void OpenGLFrameBuffer::WriteSavePic(player_t *player, FileWriter *file, int wid
//
//===========================================================================
void OpenGLFrameBuffer::RenderView(player_t *player)
sector_t *OpenGLFrameBuffer::RenderView(player_t *player)
{
if (GLRenderer != nullptr)
GLRenderer->RenderView(player);
return GLRenderer->RenderView(player);
return nullptr;
}