summaryrefslogtreecommitdiffstats
path: root/NativeApp/include/Android/AndroidAppBase.hpp
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-04-26 01:26:08 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-04-26 01:26:08 +0000
commit3c0abb2fb1eaa251741570c485a1d31d920ec023 (patch)
treecca0a490d047cce85252dae97da127bc2dafa3b5 /NativeApp/include/Android/AndroidAppBase.hpp
parentAndroid app: enabling handling mode command line argum (diff)
downloadDiligentTools-3c0abb2fb1eaa251741570c485a1d31d920ec023.tar.gz
DiligentTools-3c0abb2fb1eaa251741570c485a1d31d920ec023.zip
Few minor updates in Android app
Diffstat (limited to 'NativeApp/include/Android/AndroidAppBase.hpp')
-rw-r--r--NativeApp/include/Android/AndroidAppBase.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/NativeApp/include/Android/AndroidAppBase.hpp b/NativeApp/include/Android/AndroidAppBase.hpp
index fa42798..21cd937 100644
--- a/NativeApp/include/Android/AndroidAppBase.hpp
+++ b/NativeApp/include/Android/AndroidAppBase.hpp
@@ -51,12 +51,12 @@ public:
bool CheckWindowSizeChanged()
{
- auto new_window_width_ = ANativeWindow_getWidth(app_->window);
- auto new_window_height_ = ANativeWindow_getHeight(app_->window);
- if (new_window_width_ != window_width_ || new_window_height_ != window_height_)
+ auto new_window_width = ANativeWindow_getWidth(app_->window);
+ auto new_window_height = ANativeWindow_getHeight(app_->window);
+ if (new_window_width != window_width_ || new_window_height != window_height_)
{
- window_width_ = new_window_width_;
- window_height_ = new_window_height_;
+ window_width_ = new_window_width;
+ window_height_ = new_window_height;
return true;
}
else