Skip to content

Commit

Permalink
request core context
Browse files Browse the repository at this point in the history
  • Loading branch information
LeNitrous committed Jul 3, 2023
1 parent fb62265 commit 8528f37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/Sekai.Desktop/Windowing/Window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ private Window(Glfw glfw, string className, bool owns)

glfw.WindowHint(WindowHintInt.ContextVersionMajor, 3);
glfw.WindowHint(WindowHintInt.ContextVersionMinor, 3);
glfw.WindowHint(WindowHintOpenGlProfile.OpenGlProfile, OpenGlProfile.Core);
glfw.WindowHint(WindowHintClientApi.ClientApi, ClientApi.OpenGL);
glfw.WindowHint(WindowHintBool.Visible, false);
glfw.WindowHintString((int)WindowHintString.X11ClassName, className);
glfw.WindowHintString((int)WindowHintString.X11InstanceName, className);
Expand Down

0 comments on commit 8528f37

Please sign in to comment.