Merge remote-tracking branch 'opentk/develop' into develop

This commit is contained in:
Tzach Shabtay 2017-01-28 21:17:32 -05:00
commit f310f4a119
3 changed files with 2 additions and 3 deletions

View file

@ -457,7 +457,7 @@ namespace OpenTK.Platform.Android
// if the render thread is paused, let it run so it exits // if the render thread is paused, let it run so it exits
pauseSignal.Set (); pauseSignal.Set ();
stopWatch.Stop (); if (stopWatch != null) stopWatch.Stop ();
} }
void PauseThread () void PauseThread ()

View file

@ -57,7 +57,7 @@ namespace OpenTK.Platform.Android {
public bool HasSurface public bool HasSurface
{ {
get { return eglWindowInfo.Surface != IntPtr.Zero; } get { return eglWindowInfo != null && eglWindowInfo.Surface != IntPtr.Zero; }
} }
public ISurfaceHolder Holder { public ISurfaceHolder Holder {

View file

@ -269,7 +269,6 @@ namespace OpenTK.Platform
if (e.XDelta == 0 && e.YDelta == 0) if (e.XDelta == 0 && e.YDelta == 0)
{ {
Debug.WriteLine("OnMouseMove called without moving the mouse");
return; return;
} }