summaryrefslogtreecommitdiff
path: root/src/video/dedicated_v.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-02 22:41:58 +0000
committerrubidium <rubidium@openttd.org>2014-01-02 22:41:58 +0000
commit2618d960e30882c097ba8b68249bbae974700ac8 (patch)
tree3d5a349c6a13f6f843d5f6b56456faf91010af5b /src/video/dedicated_v.cpp
parent456dba4889108027f8af9c94514978d06012b6e7 (diff)
downloadopenttd-2618d960e30882c097ba8b68249bbae974700ac8.tar.xz
(svn r26209) -Codechange: remove some template magic and simplify some code
Diffstat (limited to 'src/video/dedicated_v.cpp')
-rw-r--r--src/video/dedicated_v.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index 4dcfbbe05..8e5b9ea91 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -144,14 +144,14 @@ static FVideoDriver_Dedicated iFVideoDriver_Dedicated;
const char *VideoDriver_Dedicated::Start(const char * const *parm)
{
- int bpp = BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth();
+ int bpp = BlitterFactory::GetCurrentBlitter()->GetScreenDepth();
_dedicated_video_mem = (bpp == 0) ? NULL : MallocT<byte>(_cur_resolution.width * _cur_resolution.height * (bpp / 8));
_screen.width = _screen.pitch = _cur_resolution.width;
_screen.height = _cur_resolution.height;
_screen.dst_ptr = _dedicated_video_mem;
ScreenSizeChanged();
- BlitterFactoryBase::GetCurrentBlitter()->PostResize();
+ BlitterFactory::GetCurrentBlitter()->PostResize();
#if defined(WINCE)
/* WinCE doesn't support console stuff */