Issue #11 resolved

support display.set_mode((0, 0))

illume
created an issue

== Lorenz Quack, 2008-03-08 07:45:03 -0800

{{{ Created attachment 6 support display.set_mode((0,0))

[quote from the SDL_SetVideoMode docs] As of SDL 1.2.10, if width and height are both 0, it will use the width and height of the current video mode (or the desktop mode, if no mode has been set). [/quote]

The patch adds support for this behavior to pygame. It also makes the (w, h) argument optional. }}}


Attachments: [[http://www.pygame.org/old_bug_attachments/6/display.diff| display.diff]]

== Thorbrian, 2008-03-09 14:57:00 -0700

{{{ marcus modified to support either width or height being 0 with the other arg non-zero, and committed rev. 1150 }}}


Comments (0)

  1. Log in to comment