diff options
Diffstat (limited to 'backends/platform/tizen/system.cpp')
-rw-r--r-- | backends/platform/tizen/system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/tizen/system.cpp b/backends/platform/tizen/system.cpp index 585eb206ea..a235456670 100644 --- a/backends/platform/tizen/system.cpp +++ b/backends/platform/tizen/system.cpp @@ -266,8 +266,8 @@ result TizenSystem::initModules() { return E_OUT_OF_MEMORY; } - _graphicsManager = (GraphicsManager *)new TizenGraphicsManager(_appForm); - if (!_graphicsManager || graphicsManager->Construct() != E_SUCCESS) { + _graphicsManager = new TizenGraphicsManager(_appForm); + if (!_graphicsManager || getGraphics()->Construct() != E_SUCCESS) { return E_OUT_OF_MEMORY; } |