- removed the old OpenGL interface.

This commit is contained in:
Christoph Oelckers 2020-06-12 00:25:52 +02:00
parent ba397f5ca1
commit 6a9f1e9da1
15 changed files with 9 additions and 1335 deletions

View file

@ -518,6 +518,7 @@ void OpenGLFrameBuffer::Draw2D()
void OpenGLFrameBuffer::PostProcessScene(bool swscene, int fixedcm, float flash, const std::function<void()> &afterBloomDrawEndScene2D)
{
if (!swscene) GLRenderer->mBuffers->BlitSceneToTexture(); // Copy the resulting scene to the current post process texture
GLRenderer->PostProcessScene(fixedcm, flash, afterBloomDrawEndScene2D);
}

View file

@ -36,7 +36,6 @@
#include "templates.h"
#include "hw_vrmodes.h"
#include "v_draw.h"
#include "i_interface.h"
extern bool vid_hdr_active;