56 const ImGuiPlatformIO& platform_io = ImGui::GetPlatformIO();
57 if (platform_io.DrawCallback_SetSamplerLinear !=
nullptr) {
58 draw_list_->AddCallback(platform_io.DrawCallback_SetSamplerLinear,
60 }
else if (platform_io.DrawCallback_ResetRenderState !=
nullptr) {
61 draw_list_->AddCallback(platform_io.DrawCallback_ResetRenderState,