mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-02 10:04:31 +00:00
Textures: allowed backend to destroy texture while inside the NewFrame/EndFrame scope. (#8811)
This commit is contained in:
@@ -69,9 +69,13 @@ Other Changes:
|
||||
- Misc: Debuggers: added type formatters for the LLDB debuggers (e.g. Xcode,
|
||||
Android Studio & more) to provide nicer display for ImVec2, ImVec4, ImVector etc.
|
||||
See misc/debuggers/ for details. (#8950) [@mentlerd]
|
||||
- Textures: fixed a crash if a texture marked as _WantDestroy by a backend after
|
||||
- Textures: fixed a crash if texture status is set to _WantDestroy by a backend after
|
||||
it had already been destroyed. This would typically happen when calling backend's
|
||||
ImGui_ImplXXXX_InvalidateDeviceObjects() helpers twice in a row. (#8977, #8811)
|
||||
- Textures: allowed backend to destroy texture while inside the NewFrame/EndFrame
|
||||
scope. Basically if a backend decide to destroy a texture that we didn't request
|
||||
to destroy (for e.g. freeing resources) the texture is immediately set to
|
||||
a _WantCreate status again. (#8811)
|
||||
- Textures: fixed an issue preventing multi-contexts sharing a ImFontAtlas from
|
||||
being possible to destroy in any order.
|
||||
- Textures: fixed not updating ImTextureData's RefCount when destroying a context
|
||||
@@ -101,7 +105,7 @@ Other Changes:
|
||||
CustomShaderVertCreateInfo and CustomShaderFragCreateInfo. (#8585, #8271) [@johan0A]
|
||||
- Backends: DX9,DX10,DX11,DX12,Metal,Vulkan,WGPU,SDLRenderer2,SDLRenderer3:
|
||||
ensure that a texture in _WantDestroy state always turn to _Destroyed even
|
||||
if your underlying graphics data was already destroyed.
|
||||
if your underlying graphics data was already destroyed. (#8977)
|
||||
- Examples: SDL2+DirectX11: Try WARP software driver if hardware driver is
|
||||
not available. (#5924, #5562)
|
||||
- Examples: SDL3+DirectX11: Added SDL3+DirectX11 example. (#8956, #8957) [@tomaz82]
|
||||
|
||||
Reference in New Issue
Block a user