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

Read pixels into buffer method is unsound #15

Open
jdm opened this issue Nov 26, 2019 · 0 comments
Open

Read pixels into buffer method is unsound #15

jdm opened this issue Nov 26, 2019 · 0 comments

Comments

@jdm
Copy link
Member

jdm commented Nov 26, 2019

08:55 <nox> jdm: And read_pixels_into_buffer is unsound, cf all the params in https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glPixelStore.xhtml
08:58 <nox> Like, IIRC, if you set GL_PACK_ROW_LENGTH to a bigger value than the natural one, GL will write stuff outside of dst_buffer.
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

No branches or pull requests

1 participant