forked from KhronosGroup/OpenGL-Registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. KhronosGroup/OpenGL-API#66
- Loading branch information
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters