Skip to content

[Bug]: Invalid swapchain composition enum! with Hexa.NET.ImGui.Backends.SDL3 example #124

@elvodqa

Description

@elvodqa

Pre-submission Checklist

  • I have read the FAQ Wiki
  • I have searched existing issues and this is not a duplicate
  • I am using the latest version of Hexa.NET.ImGui

Hexa.NET.ImGui Version

2.2.10-prerelease

Bug Description

Just copied the SDL3 example and it initially worked fine, but after that I've been getting Assertion failure at SDL_SetGPUSwapchainParameters_REAL (SDL_gpu.c:3221), triggered 2 times: '!"Invalid swapchain composition enum!"' error popping up. Funnily enough, pressing the ignore seems to work fine? This happens when you try to move windows out of the main macOS window, but again, ignoring it seems to work fine.

Steps to Reproduce

  1. Use the example https://github.com/HexaEngine/Hexa.NET.ImGui/blob/main/Examples/ExampleSDL3GPU/Program.cs
  2. Run it
  3. Move an ImGui window out of the main window on macOS

Expected Behavior

Run normally

Code Sample

Platform

macOS

.NET Version

net 9.0

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions