mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-14 00:34:18 +00:00
Examples: SDL: Initial attempt at implementing the viewport/platform api. (WIP/test API) (#1542)
ImGui_ImplSDL2_Init() now takes a SDL GL context.
This commit is contained in:
parent
4cee46f909
commit
cb601d79e8
5 changed files with 261 additions and 50 deletions
|
|
@ -624,7 +624,7 @@ int main(int, char**)
|
|||
init_data.descriptor_pool = g_DescriptorPool;
|
||||
init_data.check_vk_result = check_vk_result;
|
||||
ImGui_ImplVulkan_Init(&init_data);
|
||||
ImGui_ImplSDL2_Init(window);
|
||||
ImGui_ImplSDL2_Init(window, NULL);
|
||||
|
||||
// Setup style
|
||||
ImGui::StyleColorsDark();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue