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

Fix GLES2 shader storage support #1774

Merged
merged 1 commit into from
Mar 30, 2018
Merged

Fix GLES2 shader storage support #1774

merged 1 commit into from
Mar 30, 2018

Conversation

loganmc10
Copy link
Contributor

This is to fix a crash reported in #1765 (glProgramParameteri does not exist in GLES2)

I also changed GLES2 to use glProgramBinaryOES and glGetProgramBinaryOES.

Finally, we used to just check for GL_OES_get_program_binary or GL_ARB_get_program_binary, but I added a check for GLES 3.0+ or GL4.1+, since program binaries are not extensions in those versions.

@gonetz
Copy link
Owner

gonetz commented Mar 30, 2018

Looks good, thanks!

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