summaryrefslogtreecommitdiff
path: root/src/bootstrap_gui.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/bootstrap_gui.cpp
parent456dba4889108027f8af9c94514978d06012b6e7 (diff)
downloadopenttd-2618d960e30882c097ba8b68249bbae974700ac8.tar.xz
(svn r26209) -Codechange: remove some template magic and simplify some code
Diffstat (limited to 'src/bootstrap_gui.cpp')
-rw-r--r--src/bootstrap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap_gui.cpp b/src/bootstrap_gui.cpp
index 31b99730f..c2b76f0b1 100644
--- a/src/bootstrap_gui.cpp
+++ b/src/bootstrap_gui.cpp
@@ -215,7 +215,7 @@ bool HandleBootstrap()
if (BaseGraphics::GetUsedSet() != NULL) return true;
/* No user interface, bail out with an error. */
- if (BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth() == 0) goto failure;
+ if (BlitterFactory::GetCurrentBlitter()->GetScreenDepth() == 0) goto failure;
/* If there is no network or no freetype, then there is nothing we can do. Go straight to failure. */
#if defined(ENABLE_NETWORK) && defined(WITH_FREETYPE) && (defined(WITH_FONTCONFIG) || defined(WIN32) || defined(__APPLE__))