Made it clear that locking a streaming texture is a write-only operation.
authorSam Lantinga <slouken@libsdl.org>
Fri, 28 Sep 2012 03:29:36 -0700
changeset 64936801ced90deb
parent 6492 0732954fa8ef
child 6494 309599be5c2a
Made it clear that locking a streaming texture is a write-only operation.
include/SDL_render.h
     1.1 --- a/include/SDL_render.h	Fri Sep 28 03:22:26 2012 -0700
     1.2 +++ b/include/SDL_render.h	Fri Sep 28 03:29:36 2012 -0700
     1.3 @@ -373,7 +373,7 @@
     1.4                                                const void *pixels, int pitch);
     1.5  
     1.6  /**
     1.7 - *  \brief Lock a portion of the texture for pixel access.
     1.8 + *  \brief Lock a portion of the texture for write-only pixel access.
     1.9   *  
    1.10   *  \param texture   The texture to lock for access, which was created with 
    1.11   *                   ::SDL_TEXTUREACCESS_STREAMING.