include/SDL_video.h
changeset 3492 7a606cfa5c2d
parent 3435 9f62f47d989b
child 3493 40b1f7cb2062
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.