mirror of
https://github.com/ocornut/imgui.git
synced 2025-10-17 15:31:45 +00:00
Pass render target format in ImGui_ImplDX12_Init() instead of hard-coded.
This commit is contained in:

committed by
Jefferson Montgomery

parent
f6b6dace9e
commit
3fd5790814
@@ -301,6 +301,7 @@ int main(int, char**)
|
||||
|
||||
// Setup ImGui binding
|
||||
ImGui_ImplDX12_Init(hwnd, NUM_FRAMES_IN_FLIGHT, g_pd3dDevice,
|
||||
DXGI_FORMAT_R8G8B8A8_UNORM,
|
||||
g_pd3dSrvDescHeap->GetCPUDescriptorHandleForHeapStart(),
|
||||
g_pd3dSrvDescHeap->GetGPUDescriptorHandleForHeapStart());
|
||||
|
||||
|
Reference in New Issue
Block a user