diff options
author | sanine <sanine.not@pm.me> | 2023-03-12 01:20:53 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-03-12 01:20:53 -0600 |
commit | cc7dfef17ffaa41a675364fb5f0561a13d6b0dba (patch) | |
tree | 5d3a4040b2867f90e15f817e6ab635ac98f41327 /demo | |
parent | 437f58fd5d3bdcc94bf69aa3d283a3987921e832 (diff) |
really really strongy suggest core profile (looking @ u, mac)
Diffstat (limited to 'demo')
-rw-r--r-- | demo/fancy/main.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/demo/fancy/main.lua b/demo/fancy/main.lua index 3defde6..38aff7a 100644 --- a/demo/fancy/main.lua +++ b/demo/fancy/main.lua @@ -14,7 +14,9 @@ honey.ma.engine_play_sound(engine, 'example_sound.ogg', nil) glfw.Init() --window.setHint(window.hintType.contextVersionMajor, 3) --window.setHint(window.hintType.contextVersionMinor, 3) ---window.setHint(window.hintType.openGlProfile, window.profileType.openGlCoreProfile) +glfw.WindowHint(glfw.OPENGL_PROFILE, glfw.OPENGL_CORE_PROFILE) +glfw.WindowHint(glfw.CONTEXT_VERSION_MAJOR, 4) +glfw.WindowHint(glfw.CONTEXT_VERSION_MINOR, 1) --====== create window ======-- |