Updated documentation of SDL_CreateWindow() and SDL_CreateWindowFrom().
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 11 May 2016 21:09:45 +0200
changeset 101689e3144cb1032
parent 10167 d3db276c1fa6
child 10169 e8062c7fa8b8
Updated documentation of SDL_CreateWindow() and SDL_CreateWindowFrom().
include/SDL_video.h
     1.1 --- a/include/SDL_video.h	Tue May 10 21:15:11 2016 +0200
     1.2 +++ b/include/SDL_video.h	Wed May 11 21:09:45 2016 +0200
     1.3 @@ -449,7 +449,7 @@
     1.4   *               ::SDL_WINDOW_MINIMIZED,     ::SDL_WINDOW_INPUT_GRABBED,
     1.5   *               ::SDL_WINDOW_ALLOW_HIGHDPI.
     1.6   *
     1.7 - *  \return The id of the window created, or zero if window creation failed.
     1.8 + *  \return The created window, or NULL if window creation failed.
     1.9   *
    1.10   *  If the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag, its size
    1.11   *  in pixels may differ from its size in screen coordinates on platforms with
    1.12 @@ -468,7 +468,7 @@
    1.13   *
    1.14   *  \param data A pointer to driver-dependent window creation data
    1.15   *
    1.16 - *  \return The id of the window created, or zero if window creation failed.
    1.17 + *  \return The created window, or NULL if window creation failed.
    1.18   *
    1.19   *  \sa SDL_DestroyWindow()
    1.20   */