Browse Source

Reorder initialization order to suppress Xcode warnings.

Yao Wei Tjong 姚伟忠 8 years ago
parent
commit
ec102aadfc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/Samples/Sample.inl

+ 2 - 2
Source/Samples/Sample.inl

@@ -47,10 +47,10 @@ Sample::Sample(Context* context) :
     yaw_(0.0f),
     yaw_(0.0f),
     pitch_(0.0f),
     pitch_(0.0f),
     touchEnabled_(false),
     touchEnabled_(false),
+    useMouseMode_(MM_ABSOLUTE),
     screenJoystickIndex_(M_MAX_UNSIGNED),
     screenJoystickIndex_(M_MAX_UNSIGNED),
     screenJoystickSettingsIndex_(M_MAX_UNSIGNED),
     screenJoystickSettingsIndex_(M_MAX_UNSIGNED),
-    paused_(false),
-    useMouseMode_(MM_ABSOLUTE)
+    paused_(false)
 {
 {
 }
 }