From dbc96892cd240c13857b1f5f0a3e89f9068f7b06 Mon Sep 17 00:00:00 2001 From: Malik Olivier Boussejra Date: Sun, 29 Apr 2018 23:58:54 +0900 Subject: [PATCH] [cimgui 1.53.1] DrawList: Remove `anti_aliased: bool` final parameter There is no way I know of to make a deprecation warning in such a case. Code that uses ImDrawList_AddPolyline or ImDrawList_AddConvexPolyFilled will break. --- CHANGELOG.markdown | 2 ++ imgui-sys/src/lib.rs | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 1a316d5..cc35918 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -15,6 +15,8 @@ - Obsolete `sys::SetNextWindowContentWidth()` in favor of using `sys::igSetNextWindowContentSize()`. - Rename `sys::ImGuiTextBuffer_append()` helper to `appendf()`. + - Remove `anti_aliased: bool` final parameter of `sys::ImDrawList_AddPolyline` + and `sys::ImDrawList_AddConvexPolyFilled`. ## [0.0.18] - 2017-12-23 diff --git a/imgui-sys/src/lib.rs b/imgui-sys/src/lib.rs index 23db9bd..795ecb0 100644 --- a/imgui-sys/src/lib.rs +++ b/imgui-sys/src/lib.rs @@ -2025,14 +2025,12 @@ extern "C" { col: ImU32, closed: bool, thickness: c_float, - anti_aliased: bool, ); pub fn ImDrawList_AddConvexPolyFilled( list: *mut ImDrawList, points: *const ImVec2, num_points: c_int, col: ImU32, - anti_aliased: bool, ); pub fn ImDrawList_AddBezierCurve( list: *mut ImDrawList,