Skip to content

Set OpenGL context versions in GLFW2#195

Open
Un1q32 wants to merge 1 commit into
ButterscotchRunner:mainfrom
Un1q32:glfw2-fix
Open

Set OpenGL context versions in GLFW2#195
Un1q32 wants to merge 1 commit into
ButterscotchRunner:mainfrom
Un1q32:glfw2-fix

Conversation

@Un1q32
Copy link
Copy Markdown
Contributor

@Un1q32 Un1q32 commented Jun 6, 2026

I initially had this in GLFW2 wayy back but removed it because GLFW 2.6 didn't have these macros and it seemed to not be needed since Linux and Windows didn't care if you set the version or not. But now that I know macOS does care, I've added the code back behind a check for the macro's existence, the #ifdef should allow the backend to still build on GLFW 2.6 (though the modern-gl renderer might not work on macOS with 2.6).

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