Skip to content

Conversation

@mcourteaux
Copy link
Contributor

The original logic fails if the extension is not present:

  1. the user specifies Wayland window type
  2. the extension is not present (due to RenderDoc disabling Wayland surface creation)
  3. bgfx instead attempts X11 surface creation, on a Wayland window.

So, this PR makes sure bgfx doesn't do the flawed 3rd step above: it just gives up. There is no point in trying to create an X11 surface on a Wayland window, or vise-versa.

@bkaradzic bkaradzic merged commit d3dd8fb into bkaradzic:master Jul 22, 2025
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants