Skip to content

Conversation

@Neved4
Copy link
Contributor

@Neved4 Neved4 commented Dec 17, 2025

Fixes #72, Tested on macOS 26.2 25C56

Replaced glBindTextureUnit() with glActiveTexture()/glBindTexture() when platform is Apple, and added a GL shim for macOS. Did some wrapper bind_texture_2d(), bind_texture_cubemap() functions to avoid introducing several inlined ifdefs, if you'd prefer without wrappers we could revert to 3b30bdf.

Happy holidays! 🎉🎄

@Neved4 Neved4 marked this pull request as draft December 17, 2025 12:32
@Neved4 Neved4 force-pushed the macos-opengl branch 3 times, most recently from 87596c5 to 7af4fe0 Compare December 17, 2025 12:39
@Neved4 Neved4 marked this pull request as ready for review December 17, 2025 12:41
@LizzyFleckenstein03
Copy link
Member

Thanks, this has been merged with some modifications

@Neved4
Copy link
Contributor Author

Neved4 commented Jan 12, 2026

Thx to you!!

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.

macOS fails to build: OpenGL core profile breaks texture binding

2 participants