Fix #8774: Black screenshots when using 40bpp-blitter. (#8791)

This affected all screenshot types that render to an off-screen
buffer and don't copy the actual screen contents.
This commit is contained in:
Michael Lutz
2021-03-02 20:55:39 +01:00
committed by GitHub
parent 95462493ef
commit 937d60f239
3 changed files with 45 additions and 22 deletions

View File

@@ -315,7 +315,7 @@ void Blitter_40bppAnim::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomL
if (_screen_disable_anim || VideoDriver::GetInstance()->GetAnimBuffer() == nullptr) {
/* This means our output is not to the screen, so we can't be doing any animation stuff, so use our parent Draw() */
Blitter_32bppOptimized::Draw(bp, mode, zoom);
Blitter_32bppOptimized::Draw<true>(bp, mode, zoom);
return;
}