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

Fix black screen for windows standalone #30

Merged
merged 1 commit into from Oct 8, 2020
Merged

Fix black screen for windows standalone #30

merged 1 commit into from Oct 8, 2020

Conversation

ghost
Copy link

@ghost ghost commented Oct 7, 2020

In a windows build puglEnterContext & puglLeaveContext call BeginPaint & EndPaint. These functions should only be called in response to an WM_PAINT event. Calling it outside a WM_PAINT event causes the window to be marked as updated. Therefor no further WM_PAINT events are sent resulting in a black window.

See: zynaddsubfx/zyn-fusion-build#28

@ghost ghost mentioned this pull request Oct 7, 2020
@fundamental
Copy link
Member

Excellent :) Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant