[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Life with PyGame
> Traceback (most recent call last):
> File "pygalife.py", line 123, in ?
> main()
> File "pygalife.py", line 112, in main
> white = 2 ** screen.get_bitsize() - 1
> OverflowError: integer exponentiation
Mmm, I suspected something like this could happen when the bit depth of the
display is 32 bit. Unfortunately I don't have it on my laptop.
Is your display bit depth set at 32 bits? Does anyone know how to avoid that
error while computing 2**31 or 2**32?
--
"I was wondering if there's any kind of definitive nickname for Perl
programmers, the way we call ourselves Pythonistas?" - Aahz Maruch
"Masochists." - Daniel Klein
Nicola Larosa - nico@tekNico.net
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org