mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 13:45:33 +00:00
[Win] Log wglSwapIntervalEXT errors
Note that we cannot use Marshal.GetLastWin32Error because we are not using regular DllImports for WGL extensions.
This commit is contained in:
parent
f2dc40abdd
commit
0ed1e8b6d8
|
@ -331,7 +331,10 @@ namespace OpenTK.Platform.Windows
|
||||||
{
|
{
|
||||||
value = 1;
|
value = 1;
|
||||||
}
|
}
|
||||||
Wgl.Ext.SwapInterval(value);
|
if (!Wgl.Ext.SwapInterval(value))
|
||||||
|
{
|
||||||
|
Debug.Print("wglSwapIntervalEXT call failed.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue