summaryrefslogtreecommitdiffstats
path: root/NativeApp/include/Android/AndroidAppBase.hpp
diff options
context:
space:
mode:
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