Three questions about SDL_renderer

  1. How can I query the pixel format of a renderer ( or a number of pixel formats that it supports ) ? Is it even possible?

  2. How can I query the ''parent ‘’ window of an SDL_Renderer?

  3. What is the unofficial naming of an SDL_Renderer? Is it a render target, a renderer or what ? ( :noob: )

Thanks in advance------------------------
C is the God’s Programming Language

  1. http://wiki.libsdl.org/moin.fcg/SDL_GetRendererInfo

  2. You can get a renderer from a window, but there’s currently no way to
    get a window from a renderer. Typically if people need it, they track the
    window in their own code.

  3. It’s a 2D api that renders to a target (window or texture)On Mon, May 27, 2013 at 12:30 AM, neoaggelos wrote:

**

  1. How can I query the pixel format of a renderer ( or a number of pixel
    formats that it supports ) ? Is it even possible?

  2. How can I query the ''parent ‘’ window of an SDL_Renderer?

  3. What is the unofficial naming of an SDL_Renderer? Is it a render
    target, a renderer or what ? ( :noob: )

Thanks in advance


C is the God’s Programming Language


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org