diff options
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r-- | src/screenshot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp index 52500a756..6e72dd520 100644 --- a/src/screenshot.cpp +++ b/src/screenshot.cpp @@ -634,7 +634,7 @@ void SetScreenshotFormat(uint i) */ static void CurrentScreenCallback(void *userdata, void *buf, uint y, uint pitch, uint n) { - Blitter *blitter = BlitterFactoryBase::GetCurrentBlitter(); + Blitter *blitter = BlitterFactory::GetCurrentBlitter(); void *src = blitter->MoveTo(_screen.dst_ptr, 0, y); blitter->CopyImageToBuffer(src, buf, _screen.width, n, pitch); } @@ -740,7 +740,7 @@ static bool MakeSmallScreenshot(bool crashlog) { const ScreenshotFormat *sf = _screenshot_formats + _cur_screenshot_format; return sf->proc(MakeScreenshotName(SCREENSHOT_NAME, sf->extension, crashlog), CurrentScreenCallback, NULL, _screen.width, _screen.height, - BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth(), _cur_palette.palette); + BlitterFactory::GetCurrentBlitter()->GetScreenDepth(), _cur_palette.palette); } /** @@ -796,7 +796,7 @@ static bool MakeLargeWorldScreenshot(ScreenshotType t) const ScreenshotFormat *sf = _screenshot_formats + _cur_screenshot_format; return sf->proc(MakeScreenshotName(SCREENSHOT_NAME, sf->extension), LargeWorldCallback, &vp, vp.width, vp.height, - BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth(), _cur_palette.palette); + BlitterFactory::GetCurrentBlitter()->GetScreenDepth(), _cur_palette.palette); } /** |