New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pygame 2.0.0dev6: display surface has size (1,1) #1475
Comments
I'm not sure if relying on the content of the fake display surface is a good idea. Do any of your games rely on this behaviour? In the future we will provide a better API for this, but if there are games that rely on the size of the fake display surface being the window size, we could re-create the old behaviour. |
Well, we do, but we can rewrite our code. Please be aware that also Only |
@robertpfeiffer |
@fladd yeah.
|
I just think that the fact that the display surface is a "fake" surface, while technically correct, is not something that concerns the user. For the user, conceptually the display has a surface they can blit on, and that surface, conceptually, is the size of the display/window. |
I understand where you're coming from, but no. I'll fix this, but in general, the return value of Likewise, when you do I'd fix the behaviour (for backwards compat) but also change the docs that we make no guarantee about the type or behaviour of the return value when using While I'm at it, I could also write a new is_fullscreen API for #1343 and deprecate the FULLSCREEN flag on surfaces in the docs. |
On MacOS with Pygame 2, this
will result in
while in Pygame 1.9, it used to be
The text was updated successfully, but these errors were encountered: