mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-14 15:08:36 +00:00
WindowDrawList: Cannot use WindowDrawList::new outside of crate
This commit is contained in:
parent
3aa807b173
commit
9a65a64eca
@ -64,7 +64,7 @@ impl<'ui> DrawAPI for WindowDrawList<'ui> {
|
||||
}
|
||||
|
||||
impl<'ui> WindowDrawList<'ui> {
|
||||
pub fn new(_: &Ui<'ui>) -> Self {
|
||||
pub(crate) fn new(_: &Ui<'ui>) -> Self {
|
||||
Self {
|
||||
draw_list: unsafe { sys::igGetWindowDrawList() },
|
||||
_phantom: PhantomData,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user