Hi,

As all you know, I use a DXR3-Card. I tested the new dischi1-skin with this
card. But it doesn't work. I took a look in the source and pointed out the
following problem in osd.py:
The line
        self.depth = pygame.display.mode_ok((self.width, self.height), 1)
returns self.depth = 8. But it seems to be, that pygame.display.set_mode()
crashes because of that color-depth. So I tried the "old" value of 32. This
now works.

Here's my modified code in osd.py:
--- cut ---
        self.depth = pygame.display.mode_ok((self.width, self.height), 1)
        self.hw    = pygame.display.Info().hw

        if config.CONF.display == 'dxr3':
                self.depth = 32

        print "Used color depth is %s" % self.depth

        self.screen = pygame.display.set_mode((self.width, self.height),
self.hw,
                                                      self.depth)
--- cut ---
Is this a Problem of the mode_ok in pygame or a problem of the
SDL-DXR3-Patch? How does mode_ok gets it information?

Greetings from Germany,
Daniel



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to