Skip to content

Commit

Permalink
added more infos for GL_BUFFER_USAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
byteblob authored Nov 8, 2017
1 parent 27e35f3 commit b40eb44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gl4/glMapBuffer.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@
such cases reading from them may be very slow. To ensure optimal
performance, the client should use the mapping in a fashion
consistent with <code class="constant">GL_BUFFER_USAGE</code> (see
<code class="function">glGet*BufferParameter</code> and
<em class="parameter"><code>usage</code></em> of <code class="function">glBufferData</code>)
<code class="function">glGet*BufferParameter</code> and <em class="parameter">
<code>usage</code></em> of <code class="function">glBufferData</code>)
for the buffer object and of <em class="parameter"><code>access</code></em>.
Using a mapping in a fashion inconsistent with these values is liable
to be multiple orders of magnitude slower than using normal memory.
Expand Down

0 comments on commit b40eb44

Please sign in to comment.