mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 17:55:38 +00:00
Merge remote-tracking branch 'opentk/develop' into develop
This commit is contained in:
commit
f310f4a119
|
@ -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 ()
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue