summaryrefslogtreecommitdiff
path: root/src/blitter/40bpp_anim.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-03-02 20:55:39 +0100
committerGitHub <noreply@github.com>2021-03-02 20:55:39 +0100
commit937d60f239641ee65580dacf1de55bb3d14860f3 (patch)
treeaeb46e62025bd4d1366382da09b9abdc90530944 /src/blitter/40bpp_anim.cpp
parent95462493ef68d2badf5187108581a8c8f2705135 (diff)
downloadopenttd-937d60f239641ee65580dacf1de55bb3d14860f3.tar.xz
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.
Diffstat (limited to 'src/blitter/40bpp_anim.cpp')
-rw-r--r--src/blitter/40bpp_anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/40bpp_anim.cpp b/src/blitter/40bpp_anim.cpp
index aaca817fc..d29b34a17 100644
--- a/src/blitter/40bpp_anim.cpp
+++ b/src/blitter/40bpp_anim.cpp
@@ -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;
}