[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] BUG: segfault when blitting surface to itself



On Fri, Apr 11, 2008 at 12:33 PM, Marcus von Appen <mva@xxxxxxxxxxxx> wrote:
>  Is there some case where blitting a surface on itself might be desired
>  or necessary? If not, I'll add a simple check that tests the passed
>  surface on equality and let blit() throw an exception, if both are the
>  same.
>
That sounds great. This has come up multiple times on the list over
the years, and it would be good if it didn't. As a cross-platform
library, pygame should really be stopping users from doing things on
one platform that can't work on other platforms, to encourage writing
portable code.