- backend update from GZDoom

This commit is contained in:
Christoph Oelckers 2020-06-07 15:02:54 +02:00
parent 4c6abe1bb9
commit d7225c1965
35 changed files with 217 additions and 98 deletions

View file

@ -232,7 +232,7 @@ static uint8_t ToIntColorComponent(float v)
return clamp((int)(v * 255.0f + 0.5f), 0, 255);
}
void PolyFrameBuffer::PostProcessScene(bool swscene, int fixedcm, const std::function<void()> &afterBloomDrawEndScene2D)
void PolyFrameBuffer::PostProcessScene(bool swscene, int fixedcm, float flash, const std::function<void()> &afterBloomDrawEndScene2D)
{
afterBloomDrawEndScene2D();