paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] PG_Draw::CreateRGBSurface() segfault


From: H. C.
Subject: Re: [paragui-users] PG_Draw::CreateRGBSurface() segfault
Date: Thu, 18 Sep 2003 16:07:54 +0200

Hi Peter,

PG_Draw::BlitSurface(...) is only a wrapper function; it calls
SDL_BlitSurface(...) with the difference that it passes the addresses of the
PG_Rect& arguments.

So if you want to pass NULL to SDL_BlitSurface(...) why don't you just
utilise *(PG_Rect*)NULL". It doesn't look nice - but it works well and
there's no need to rewrite all occurrences of PG_Draw::BlitSurface(...) in
the ParaGUI source.

Regards,

    H. C.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]