Skip to content

Add missing function hack to GLFW build on MacOS - #2

Merged
lemming104 merged 1 commit into
mainfrom
lemming104/MacOS_GLFW_Hack
Aug 16, 2026
Merged

lemming104 merged 1 commit into
mainfrom
lemming104/MacOS_GLFW_Hack

Conversation

@lemming104

Copy link
Copy Markdown
Collaborator

This just adds a dummy function that is normally only present on Windows builds. This normally breaks AOT builds with "direct P/Invoke" on non-Windows operating systems because OpenTK is written in a way that makes the compiler think this function should always be present and linkable.

@lemming104
lemming104 merged commit 7f85503 into main Aug 16, 2026
4 checks passed
@lemming104
lemming104 deleted the lemming104/MacOS_GLFW_Hack branch August 16, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant