Skip to content

macOS Support#3

Open
doctashay wants to merge 6 commits intodetolly:masterfrom
doctashay:macos-support
Open

macOS Support#3
doctashay wants to merge 6 commits intodetolly:masterfrom
doctashay:macos-support

Conversation

@doctashay
Copy link
Contributor

Adds initial, incomplete support for building on macOS. Project builds but fails to open due to an OpenGL context issue. Will be addressed

Addresses compiler-specific issues preventing the build from completing on macOS. 

Currently builds, but fails to create OpenGL context due to OS-specific issue
@detolly detolly marked this pull request as ready for review January 26, 2021 20:46
@detolly
Copy link
Owner

detolly commented Jan 26, 2021

Has been mentioned in DMs, but I'll mention it here if anyone wants to add onto this or look into it:

Apple seems to support legacy profile opengl only. The shaders may or may not use some features that are only present in newer versions. The fix is to ifdef static initialization of Object shaders, that are present in the Renderer/Object.cpp file, and have custom shaders for macos. In addition to this, the imgui impl has to be changed.

Still having additional issues creating a GLFW context on Catalina and Big Sur machines, although this may be an issue with my KVM and graphics acceleration. Regardless, any OpenGL contexts on these platforms will be limited to software mode.
This reverts commit bfa36111e9d5e9672e84380a942d371bf69e64e8.
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.

2 participants