Opentk/Source/Framework/WindowsPlatform.cs
the_fiddler 24c3a6b290
2006-11-05 11:50:08 +00:00

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();
}
}
}