mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 04:25:33 +00:00
Fixed potential crash-bug in the WGL_ARB_create_context path (missing 0 attribute).
This commit is contained in:
parent
4335a458eb
commit
67d8b1f54c
|
@ -104,6 +104,7 @@ namespace OpenTK.Platform.Windows
|
|||
attributes.Add((int)ArbCreateContext.Flags);
|
||||
attributes.Add((int)flags);
|
||||
}
|
||||
attributes.Add(0);
|
||||
|
||||
renderContext = new ContextHandle(
|
||||
Wgl.Arb.CreateContextAttribs(
|
||||
|
|
Loading…
Reference in a new issue