Commit graph

4 commits

Author SHA1 Message Date
Neico 974e02b03e fix AngleWindowInfo compile errors on mobile introduced by #458 2017-04-30 23:20:56 +02:00
Tzach Shabtay 2b15ae3700 IOS- fixed crash on first tick
FrameEventArgs throws an exception when setting the Time to a value <=
0. With that knowledge, both the Android and the IOS implementations
had a bug when setting the time.
On IOS, that bug would cause a crash on the first tick, as the first
tick would always set to 0.
On Android the bug was probably harmless but there was a redundant
check there (and also removed the unneeded allocation that was there on
every tick).
2017-03-19 23:49:09 -04:00
Tzach Shabtay 0e20faf896 Android- fix a crash when the game view is closed before it started running
When the game view is closed, if it hasn’t started running yet the
stopwatch would still be null- added a null check.
2016-12-11 17:50:38 -05:00
varon 468542c3db Moved OpenTK to source folder 2016-07-17 21:36:42 +02:00
Renamed from Source/OpenTK/Platform/Android/AndroidGameView.cs (Browse further)