TIZEN: fix compile errors
This commit is contained in:
parent
3bcc3a6849
commit
76a5580930
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public:
|
|||
bool isClosing() { return _appForm->isClosing(); }
|
||||
|
||||
TizenGraphicsManager *getGraphics() {
|
||||
return (TizenGraphicsManager *)_graphicsManager;
|
||||
return dynamic_cast<TizenGraphicsManager *>(_graphicsManager);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue