diff options
author | Max Horn | 2010-10-15 12:18:19 +0000 |
---|---|---|
committer | Max Horn | 2010-10-15 12:18:19 +0000 |
commit | 550073ee049ba30d84cb76c82fb18c045b07569f (patch) | |
tree | 0b67327d8f27969c6a6ebd1971fafee6cd7b70d9 /engines/sword25/gfx/text.cpp | |
parent | 2b5de8c8921d8ec012c689597870e5ae781e3b81 (diff) | |
download | scummvm-rg350-550073ee049ba30d84cb76c82fb18c045b07569f.tar.gz scummvm-rg350-550073ee049ba30d84cb76c82fb18c045b07569f.tar.bz2 scummvm-rg350-550073ee049ba30d84cb76c82fb18c045b07569f.zip |
SWORD25: Do not use Kernel::GetService directly anymore
svn-id: r53477
Diffstat (limited to 'engines/sword25/gfx/text.cpp')
-rw-r--r-- | engines/sword25/gfx/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/gfx/text.cpp b/engines/sword25/gfx/text.cpp index d3d77cb0d2..2089886493 100644 --- a/engines/sword25/gfx/text.cpp +++ b/engines/sword25/gfx/text.cpp @@ -169,7 +169,7 @@ bool Text::doRender() { } // Framebufferobjekt holen. - GraphicEngine *GfxPtr = static_cast<GraphicEngine *>(Kernel::GetInstance()->GetService("gfx")); + GraphicEngine *GfxPtr = Kernel::GetInstance()->GetGfx(); BS_ASSERT(GfxPtr); bool Result = true; |