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:
omar
2018-02-27 23:30:39 +01:00
parent 4cee46f909
commit cb601d79e8
5 changed files with 261 additions and 50 deletions

View File

@ -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();