pygame is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

pygame / pygame http://pygame.org/

Clone this repository (size: 15.4 MB): HTTPS / SSH
hg clone https://bitbucket.org/pygame/pygame
hg clone ssh://hg@bitbucket.org/pygame/pygame

Issues

#91 No fullscreen on Mac OS X Lion with OpenGL

Reported by Andrej Schoeke

>>> import pygame
>>> pygame.vernum
(1, 9, 2)
>>> pygame.display.set_mode((1344,840),pygame.FULLSCREEN,24)
<Surface(1344x840x24 SW)>
Killed.
>>> pygame.display.set_mode((1344,840),pygame.FULLSCREEN|pygame.OPENGL,24)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
pygame.error: Error setting OpenGL fullscreen: invalid fullscreen drawable

Installed with the mpkg provided by the pygame website <http://www.pygame.org/ftp/pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip>. Installed SDL.framework, SDL_image.framework, SDL_mixer.framework, SDL_ttf.framework from the SDL website, version 1.2.13.

Status: resolved Responsible: nobody Type: bug Priority: minor
Milestone: none Component: SDL Version: Development

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Andrej Schoeke

    written

    • Changed version from unspecified to Development.
  2. #2 Anonymous

    written

    Lion removed the API that libSDL uses for fullscreen mode: http://bugzilla.libsdl.org/show_bug.cgi?id=1215

  3. #3 Anonymous

    written

    I am having the same problem except it doesn't crash, it just doesn't make the window .

  4. #4 theblacklion

    written , last edited

    Go update your SDL package to 1.2.15. Seems like the bug is fixed already. I just updated my SDL.framework package and it works fine.

  5. #5 Andrej Schoeke

    written

    • Changed status from new to open.

    I'll test it and report back. Thanks.

  6. #6 Andrej Schoeke

    written

    • Changed version from nothing to Development.
    • Changed priority from major to minor.
    • Changed component from nothing to SDL.
    • Changed status from open to resolved.

    Works. I consider it fixed.

    It seems like it was a SDL dependent bug. Upgrade libSDL to 1.2.15 and everything works fine/

    Reopen if necessary :) Thanks!

    Andrej

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?