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

Resizing windows on mac results in red blips as display is flipped #1350

Closed
connorjclark opened this issue Jul 16, 2022 · 1 comment
Closed
Milestone

Comments

@connorjclark
Copy link
Contributor

connorjclark commented Jul 16, 2022

ex_draw2 exhibits this: https://youtu.be/6UJNHFO4myU

image

I forget now, but this may only be for Debug build (red suggests a common debugging memory value) and results may vary for Release.

@SiegeLord SiegeLord added this to the 5.2.9 milestone Nov 7, 2022
SiegeLord pushed a commit to SiegeLord/allegro5 that referenced this issue May 21, 2023
Elias investigated the issue in liballeg#1418, showing that there was some concurrent
OpenGL usage between OS's internals and user code. That specific workaround did
not work for me on my Mac, so as an alternative, in this commit we add an
option to bypass live resize altogether. In short, the user opts into drawing
halt/resume events via a config option, and ceases to draw while live resize is
underway. This isn't ideal, but at least is a way to prevent the crashing
behavior until we find some better idea.
SiegeLord pushed a commit that referenced this issue Sep 13, 2023
Elias investigated the issue in #1418, showing that there was some concurrent
OpenGL usage between OS's internals and user code. That specific workaround did
not work for me on my Mac, so as an alternative, in this commit we add an
option to bypass live resize altogether. In short, the user opts into drawing
halt/resume events via a config option, and ceases to draw while live resize is
underway. This isn't ideal, but at least is a way to prevent the crashing
behavior until we find some better idea.
@SiegeLord
Copy link
Member

There is now a workaround for this implemented in #1442

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

No branches or pull requests

2 participants