Missing API call

With the new rendering API requiring a SDL_Renderer* for everything, there needs
to be a function like this, but it doesn’t seem to exist. Should be trivial to
create.

extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);

Mason

Done!On Sat, Apr 2, 2011 at 3:39 PM, Mason Wheeler wrote:

With the new rendering API requiring a SDL_Renderer* for everything, there
needs
to be a function like this, but it doesn’t seem to exist. Should be
trivial to
create.

extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window *
window);

Mason


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


-Sam Lantinga, Founder and CEO, Galaxy Gameworks

Thanks for the fix! :)________________________________
From: slouken@libsdl.org (slouken)
Subject: Re: [SDL] Missing API call

Done!

On Sat, Apr 2, 2011 at 3:39 PM, Mason Wheeler <@Mason_Wheeler> wrote:

With the new rendering API requiring a SDL_Renderer* for everything, there needs

to be a function like this, but it doesn’t seem to exist. Should be trivial to
create.

extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);

Mason


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


-Sam Lantinga, Founder and CEO, Galaxy Gameworks

You’re welcome! :)On Mon, Apr 4, 2011 at 10:30 AM, Mason Wheeler wrote:

Thanks for the fix! :slight_smile:


From: Sam Lantinga <@slouken>
**Subject: Re: [SDL] Missing API call

Done!

On Sat, Apr 2, 2011 at 3:39 PM, Mason Wheeler wrote:

With the new rendering API requiring a SDL_Renderer* for everything, there
needs
to be a function like this, but it doesn’t seem to exist. Should be
trivial to
create.

extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window *
window);

Mason


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


-Sam Lantinga, Founder and CEO, Galaxy Gameworks


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


-Sam Lantinga, Founder and CEO, Galaxy Gameworks