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

[pygame] Setting mode - DDraw problem?



Hi,

I have problem with my game. I use fullscreen mode and it works well
on every machine expects some notebooks (in Windows). Event when the
notebook has very good resolution, I get exeption for this code:

self.screen = pygame.display.set_mode((800,600), FULLSCREEN)

exeption:
Traceback (most recent call last):
 File "akcnicestina.py", line 2, in ?
 File "game.pyc", line 102, in __init__
 File "simpleui\App.pyc", line 23, in __init__
pygame.error: DDraw created surface with wrong size

But the display is bigger, than 800x600....

Thank you,