Clean fix issue #19

Isolate and commit fix for issue #19 without potential for regressions.
This commit is contained in:
Stefanos A 2013-12-21 00:43:05 +01:00
parent 1e4228456f
commit 6dc474f595

View file

@ -1207,7 +1207,7 @@ namespace OpenTK.Platform.Windows
MSG msg;
public void ProcessEvents()
{
while (Functions.PeekMessage(ref msg, window.Handle, 0, 0, PeekMessageFlags.Remove))
while (Functions.PeekMessage(ref msg, IntPtr.Zero, 0, 0, PeekMessageFlags.Remove))
{
Functions.TranslateMessage(ref msg);
Functions.DispatchMessage(ref msg);