[SDL] color key broken in glSDL?

James Gregory james.jrg at gmail.com
Mon Oct 16 02:30:23 PDT 2006


On 10/14/06, James Gregory <james.jrg at gmail.com> wrote:

> On an entirely separate point, glSDL's SetVideoMode leaks memory if
> you call it more than once whilst an application is running. Most of
> this memory leak is because calling SetVideoMode a second time
> allocates fake_screen without freeing the old fake_screen first,
> though there seems to be another leak of about 50kb that I can't work
> out.
>

Also, in glSDL_BlitFromGL, if dst_rect is 0, dst_rect doesn't get
given the width and height of the source rect automatically.

James




More information about the SDL mailing list