Skip to content
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

Partial black screen if update callback not defined #248

Closed
dogwynn opened this issue Mar 10, 2021 · 1 comment
Closed

Partial black screen if update callback not defined #248

dogwynn opened this issue Mar 10, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@dogwynn
Copy link

dogwynn commented Mar 10, 2021

If the window dimensions extend beyond the end of the screen on first rendering (e.g. issue #247), and if there is not an update callback defined, then the the portion of the window outside of screen is not rendered. Furthermore, if the window is brought fully into view, the unrendered portion remains black.

pygame 2.0.1 (SDL 2.0.14, Python 3.9.1)
pgzero 1.2.1
Windows 10

smaller

@lordmauve lordmauve added bug Something isn't working good first issue Good for newcomers and removed good first issue Good for newcomers labels Jan 2, 2022
@lordmauve
Copy link
Owner

I believe this is fixed in 126f7cf by handling the VIDEOEXPOSE event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants