Skip to content

SDL_DestroyWindow block when create by SDL_CreateWindowFrom #5432

@7956968

Description

@7956968

sdl:SDL2-2.0.20
qt: 5.14.2
os:win11
SDL_CreateWindowFrom by QGLWidget->winid

block on SDL_HideWindow,
fix this by:
/* Restore video mode, etc. */
if (!(window->flags & SDL_WINDOW_FOREIGN)) {
SDL_HideWindow(window);
}

Metadata

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