Mercurial > sdl-ios-xcode
diff include/SDL_video.h @ 3091:32efcc94b3da
Fixed return value for SDL_CreateRenderer()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 15 Mar 2009 15:50:18 +0000 |
parents | 089a77aebb7d |
children | 7dc982143c06 |
line wrap: on
line diff
--- a/include/SDL_video.h Thu Mar 12 03:51:39 2009 +0000 +++ b/include/SDL_video.h Sun Mar 15 15:50:18 2009 +0000 @@ -814,8 +814,7 @@ * \param index The index of the rendering driver to initialize, or -1 to initialize the first one supporting the requested flags. * \param flags SDL_RendererFlags * - * \return 0 on success, -1 if the flags were not supported, or -2 if - * there isn't enough memory to support the requested flags + * \return 0 on success, -1 if there was an error creating the renderer. * * \sa SDL_SelectRenderer() * \sa SDL_GetRendererInfo()