Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate OSX to GLFW3+ #8348

Draft
wants to merge 64 commits into
base: dev
Choose a base branch
from
Draft

Migrate OSX to GLFW3+ #8348

wants to merge 64 commits into from

Conversation

Jhonnyg
Copy link
Contributor

@Jhonnyg Jhonnyg commented Dec 23, 2023

We have removed our old modified GLFW version on OSX in favour of the latest publicly released GLFW 3.3.8 version. This will enable us to improve our desktop feature set, as well as help fix many legacy OS issues across the board.

Fixes #7970

Comment on lines 570 to 573
static bool OpenGLIsSupported()
{
return (glfwInit() == GL_TRUE);
return true;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we got this far, we already know we have opengl support

Comment on lines 41 to 43
CMAKE_FLAGS="-DGLFW_VULKAN_STATIC=OFF ${CMAKE_FLAGS}"

CMAKE_FLAGS_VULKAN="-DGLFW_VULKAN_STATIC=ON"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We build two libraries, one with vulkan support and one without

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also why the packages are a lot bigger. Not sure if we can do anything about it since we want vulkan as opt-in/opt-out

@Jhonnyg Jhonnyg added engine Issues related to the Defold engine glfw macos Issue related to the macOS platform labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Issues related to the Defold engine glfw macos Issue related to the macOS platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to GLFW3
2 participants