mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-30 11:16:56 +00:00
Clean fix issue #19
Isolate and commit fix for issue #19 without potential for regressions.
This commit is contained in:
parent
e1619a8ad3
commit
42ce028bbf
|
@ -1207,7 +1207,7 @@ namespace OpenTK.Platform.Windows
|
||||||
MSG msg;
|
MSG msg;
|
||||||
public void ProcessEvents()
|
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.TranslateMessage(ref msg);
|
||||||
Functions.DispatchMessage(ref msg);
|
Functions.DispatchMessage(ref msg);
|
||||||
|
|
Loading…
Reference in a new issue