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

ALLEGRO_FULLSCREEN_WINDOWED does not work properly on Windows (OpenGL) #1582

Open
alemart opened this issue Sep 21, 2024 · 5 comments
Open

Comments

@alemart
Copy link
Contributor

alemart commented Sep 21, 2024

ALLEGRO_FULLSCREEN_WINDOWED does not work properly when using the OpenGL backend on Windows.

Changing the display mode from windowed to fullscreen_windowed works as expected, but changing it back to windowed doesn't. Graphics are displayed at the bottom left corner of the screen.

Here is a video of one of my users experiencing the issue in ex_fs_window. Not all users experience this problem. The user who does has an Intel HD Graphics 2500 card and uses Windows 10.

test2.mp4

ex_fs_window was changed slightly, so that:

al_set_new_display_flags(ALLEGRO_FULLSCREEN_WINDOW);

was replaced by

al_set_new_display_flags(ALLEGRO_WINDOWED | ALLEGRO_OPENGL | ALLEGRO_PROGRAMMABLE_PIPELINE);

The example works fine with the Direct3D backend. The issue is possibly related to the OpenGL backend interacting with Intel drivers.

Related to #415

@SiegeLord
Copy link
Member

What version are you using?

@alemart
Copy link
Contributor Author

alemart commented Sep 21, 2024

Allegro 5.2.9.1

I can't reproduce the issue on my own machine.

@SiegeLord
Copy link
Member

Is it possible to get them to try a build from master? There have been some fixes on that part of the code recently.

@alemart
Copy link
Contributor Author

alemart commented Sep 22, 2024

Yes. I built it from master. The user just reported that the issue persists. I'm attaching allegro.log.

@SiegeLord
Copy link
Member

Yeah, I can't seem to reproduce this. I had a different issue with those flags set, which I fixed in fd9b819

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