mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-05 04:28:47 +02: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:
@ -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();
|
||||
|
Reference in New Issue
Block a user