commit | 30de608561e46bcaed202733947636c2a47c2880 | [log] [tgz] |
---|---|---|
author | Mathias Heyer <mheyer@nvidia.com> | Mon Apr 27 16:18:18 2020 -0700 |
committer | Mathias Heyer <mheyer@nvidia.com> | Wed May 06 10:40:15 2020 -0700 |
tree | 7d254e403df9e9b2fbc565d26c5e1263db48ecdb | |
parent | 03e1bfb87c4664d34dc7822fb591841eec747094 [diff] |
NV_pixel_buffer_object: fix example code GL_STREAM_READ is not available in ES2.0. In fact, EXT_map_buffer_range was the first time a mapped buffer could be read from legally. Just use GL_STREAM_DRAW instead. This is not a major problem, though, as the usage hints do not affect the legal usage of a buffer and are taken by the drivers merely as hints, sometimes even being ignored. https://github.com/KhronosGroup/OpenGL-API/issues/66