Skip to content

Commit

Permalink
windows: Fix wgl context creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewol authored and not-fl3 committed May 31, 2023
1 parent 44f9abe commit be6e9e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/native/windows/wgl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,14 @@ impl Wgl {
let attrs = [
WGL_CONTEXT_MAJOR_VERSION_ARB,
3,
2,
WGL_CONTEXT_MINOR_VERSION_ARB,
3,
1,
2,
WGL_CONTEXT_FLAGS_ARB,
WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,
WGL_CONTEXT_PROFILE_MASK_ARB,
WGL_CONTEXT_CORE_PROFILE_BIT_ARB,
0,
0,
];
let mut gl_ctx = self.CreateContextAttribsARB.unwrap()(
display.dc,
Expand Down

0 comments on commit be6e9e0

Please sign in to comment.