Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean fix issue #19
Isolate and commit fix for issue #19 without potential for regressions.
  • Loading branch information
thefiddler committed Dec 20, 2013
1 parent e1619a8 commit 42ce028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OpenTK/Platform/Windows/WinGLNative.cs
Expand Up @@ -1207,7 +1207,7 @@ public Point PointToScreen(Point point)
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);
Expand Down

0 comments on commit 42ce028

Please sign in to comment.