From cfe3f261154df21f928a04c1d2b565c07dc0b03b Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Wed, 11 May 2016 21:09:45 +0200 Subject: [PATCH] Updated documentation of SDL_CreateWindow() and SDL_CreateWindowFrom(). --- include/SDL_video.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL_video.h b/include/SDL_video.h index 52179f3cb..f68bc5620 100644 --- a/include/SDL_video.h +++ b/include/SDL_video.h @@ -449,7 +449,7 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window); * ::SDL_WINDOW_MINIMIZED, ::SDL_WINDOW_INPUT_GRABBED, * ::SDL_WINDOW_ALLOW_HIGHDPI. * - * \return The id of the window created, or zero if window creation failed. + * \return The created window, or NULL if window creation failed. * * If the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag, its size * in pixels may differ from its size in screen coordinates on platforms with @@ -468,7 +468,7 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindow(const char *title, * * \param data A pointer to driver-dependent window creation data * - * \return The id of the window created, or zero if window creation failed. + * \return The created window, or NULL if window creation failed. * * \sa SDL_DestroyWindow() */