comparison include/SDL_video.h @ 3492:7a606cfa5c2d

Clarified the windowID parameter
author Sam Lantinga <slouken@libsdl.org>
date Wed, 25 Nov 2009 06:24:15 +0000
parents 9f62f47d989b
children 40b1f7cb2062
comparison
equal deleted inserted replaced
3491:1192adfc6d52 3492:7a606cfa5c2d
750 SDL_RendererInfo * info); 750 SDL_RendererInfo * info);
751 751
752 /** 752 /**
753 * \brief Create and make active a 2D rendering context for a window. 753 * \brief Create and make active a 2D rendering context for a window.
754 * 754 *
755 * \param windowID The window used for rendering. 755 * \param windowID The window where rendering is displayed.
756 * \param index The index of the rendering driver to initialize, or -1 to 756 * \param index The index of the rendering driver to initialize, or -1 to
757 * initialize the first one supporting the requested flags. 757 * initialize the first one supporting the requested flags.
758 * \param flags ::SDL_RendererFlags. 758 * \param flags ::SDL_RendererFlags.
759 * 759 *
760 * \return 0 on success, -1 if there was an error creating the renderer. 760 * \return 0 on success, -1 if there was an error creating the renderer.