mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 11:21:00 +00:00
Clean fix issue #19
Isolate and commit fix for issue #19 without potential for regressions.
This commit is contained in:
parent
1e4228456f
commit
6dc474f595
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue