Skip to content

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

Open
@alemart

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions