-
Notifications
You must be signed in to change notification settings - Fork 11
Can't set OpenGL compatibility profile #13
Copy link
Copy link
Open
Description
Hello,
I am trying to use the MoonGL/MoonGLFW with OpenGL compatibility profile for old fashioned OpenGL. But it doesn't work.
I used your Hello World example from moongl as a starting point. This works and opens an orange window.
I changed the window hint to
glfw.window_hint('opengl profile', 'compat')
and added the classic hello-world-triangle. I still get the Runtime Error:
lua: triangle.lua:25: attempt to call a nil value (field 'Begin')
It is very well possible, that this is not a problem of your Library, but that I am doing something wrong. But I can't figure out what. Can you help me?
I compiled your library on Debian Bookworm. Please ask if you need aditional information.
thanks in advance and thanks for sharing these great bindings
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels