Corrected documentation of the SDL_CreateTexture() functions in header file.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 21 Aug 2015 23:50:59 +0200
changeset 9850dba168c67bea
parent 9849 1305bfa0214e
child 9851 0098bc9ac7cb
Corrected documentation of the SDL_CreateTexture() functions in header file.
include/SDL_render.h
     1.1 --- a/include/SDL_render.h	Fri Aug 21 23:50:37 2015 +0200
     1.2 +++ b/include/SDL_render.h	Fri Aug 21 23:50:59 2015 +0200
     1.3 @@ -229,7 +229,7 @@
     1.4   *  \param w      The width of the texture in pixels.
     1.5   *  \param h      The height of the texture in pixels.
     1.6   *
     1.7 - *  \return The created texture is returned, or 0 if no rendering context was
     1.8 + *  \return The created texture is returned, or NULL if no rendering context was
     1.9   *          active,  the format was unsupported, or the width or height were out
    1.10   *          of range.
    1.11   *
    1.12 @@ -248,7 +248,7 @@
    1.13   *  \param renderer The renderer.
    1.14   *  \param surface The surface containing pixel data used to fill the texture.
    1.15   *
    1.16 - *  \return The created texture is returned, or 0 on error.
    1.17 + *  \return The created texture is returned, or NULL on error.
    1.18   *
    1.19   *  \note The surface is not modified or freed by this function.
    1.20   *