diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-03-23 12:36:53 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-03-27 09:19:43 -0700 |
commit | 74de8e4224e1e883dac71c399b86bfd499f811c8 (patch) | |
tree | ebd52b085a3a1af9a1353d0280d9777e4b26e391 /LICENSE | |
parent | bc5e5afc7be272d04f8b1767895dfec6d3dbc455 (diff) | |
download | serenity-74de8e4224e1e883dac71c399b86bfd499f811c8.zip |
LibGL: Always normalize vertex attribute data
We were normalizing data read from vertex attribute pointers based on
their usage, but there is nothing written about this behavior in the
spec or in man pages.
When we implement `glVertexAttribPointer` however, the user can
optionally enable normalization per vertex attribute pointer. This
refactors the `VertexAttribPointer` to have a `normalize` field so we
can support that future implementation.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions