Backends: Comments next to include, misc minor comments/tweaks, fix imgui_impl_osx.h using IMGUI_API instead of IMGUI_IMPL_API. (#3105)

This commit is contained in:
omar
2020-04-07 11:02:29 +02:00
parent 00927105ba
commit cc0e43e631
15 changed files with 27 additions and 39 deletions

View File

@ -12,8 +12,7 @@
// https://github.com/ocornut/imgui
#pragma once
#include "imgui.h"
#include "imgui.h" // IMGUI_IMPL_API
enum DXGI_FORMAT;
struct ID3D12Device;
@ -32,6 +31,6 @@ IMGUI_IMPL_API void ImGui_ImplDX12_Shutdown();
IMGUI_IMPL_API void ImGui_ImplDX12_NewFrame();
IMGUI_IMPL_API void ImGui_ImplDX12_RenderDrawData(ImDrawData* draw_data, ID3D12GraphicsCommandList* graphics_command_list);
// Use if you want to reset your rendering device without losing ImGui state.
// Use if you want to reset your rendering device without losing Dear ImGui state.
IMGUI_IMPL_API void ImGui_ImplDX12_InvalidateDeviceObjects();
IMGUI_IMPL_API bool ImGui_ImplDX12_CreateDeviceObjects();