mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 15:55:31 +00:00
25 lines
485 B
C#
25 lines
485 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
using OpenTK.Platform.Windows;
|
|
|
|
namespace OpenTK
|
|
{
|
|
class WindowsPlatform : PlatformSpecific
|
|
{
|
|
public override bool IsIdle()
|
|
{
|
|
WinApi.Message msg;
|
|
return !WinApi.PeekMessage(out msg, IntPtr.Zero, 0, 0, 0);
|
|
}
|
|
|
|
public override bool ProcessEvents()
|
|
{
|
|
|
|
|
|
return base.ProcessEvents();
|
|
}
|
|
}
|
|
}
|