gallium-docs: Fix typo.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 3 Feb 2010 08:56:34 +0000 (08:56 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 3 Feb 2010 09:04:46 +0000 (09:04 +0000)
src/gallium/docs/source/screen.rst

index 3e57a282fd4a9df056dec2b410f18a8f68c6df10..55a4c6990de0ffa9f24686cdc38fbe30fc0bf04c 100644 (file)
@@ -227,7 +227,7 @@ buffer_map
 
 Map a buffer into memory.
 
-**usage** is a bitmask of :ref:`PIPE_TEXTURE_USAGE` flags.
+**usage** is a bitmask of :ref:`PIPE_BUFFER_USAGE` flags.
 
 Returns a pointer to the map, or NULL if the mapping failed.
 
@@ -248,7 +248,7 @@ Flush a range of mapped memory into a buffer.
 
 The buffer must have been mapped with ``PIPE_BUFFER_USAGE_FLUSH_EXPLICIT``.
 
-**usage** is a bitmask of :ref:`PIPE_TEXTURE_USAGE` flags.
+**usage** is a bitmask of :ref:`PIPE_BUFFER_USAGE` flags.
 
 buffer_unmap
 ^^^^^^^^^^^^