Skip to content

SDL3 backend: No window retargeting? #9105

@alexgu754

Description

@alexgu754

Version/Branch of Dear ImGui:

Version 1.XX, Branch: XXX (master/docking/etc.)

Back-ends:

imgui_impl_XXX.cpp + imgui_impl_XXX.cpp

Compiler, OS:

macOS + Clang++12

Full config/build information:

Git clone of latest main branch, using sdl3 + sdl3 gpu

Details:

Image

Didn't know where else to ask this, just wanted to know why there was no explicit function to set the target window we're rendering to? Without shutting down and calling init again, I think it'd be useful

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

// Here's some code anyone can copy and paste to reproduce your issue
ImGui::Begin("Example Bug");
MoreCodeToExplainMyIssue();
ImGui::End();

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions