From cc7dfef17ffaa41a675364fb5f0561a13d6b0dba Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Mar 2023 01:20:53 -0600 Subject: really really strongy suggest core profile (looking @ u, mac) --- demo/fancy/main.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'demo/fancy') 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 ======-- -- cgit v1.2.1