Skip to content

glsm: use glBindFragDataLocation in OpenGL context only #219

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scribam
Copy link

@scribam scribam commented Feb 15, 2025

glBindFragDataLocation is only available on OpenGL 3+ (https://docs.gl/gl3/glBindFragDataLocation) so do not use this function in OpenGL ES context which includes OpenGL ES 2 and OpenGL ES 3

@scribam scribam force-pushed the glBindFragDataLocation branch from 4c7294d to 7521b5b Compare February 15, 2025 21:42
@scribam scribam changed the title glsm: hide glBindFragDataLocation in OpenGL ES context glsm: use glBindFragDataLocation in OpenGL context only Feb 15, 2025
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