From 2d05354906d3012b674efd713b3feb194ac06c96 Mon Sep 17 00:00:00 2001 From: Brenno Lemos Date: Tue, 12 Dec 2023 22:06:30 -0300 Subject: [PATCH] feat: use custom fork of imgui to prevent alpha bleding error related to imgui-rs/imgui-rs#756 --- Cargo.lock | 10 ++++------ Cargo.toml | 2 +- implot-sys-bindgen/Cargo.toml | 2 +- implot-sys/Cargo.toml | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e1e660b..2e2320f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -34,9 +34,8 @@ checksum = "75476fe966a8af7c0ceae2a3e514afa87d4451741fcdfab8bfaa07ad301842ec" [[package]] name = "imgui" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cea19ca90247d9c994663a9f68edd9792b26ad0af390ceb8b43e881c90121bc" +version = "0.11.0" +source = "git+https://github.com/syndelis/imgui-rs?branch=fix/alpha-blending#05f54c9a8a9752b78204ea1a0983c0b36e01c830" dependencies = [ "bitflags", "cfg-if", @@ -47,9 +46,8 @@ dependencies = [ [[package]] name = "imgui-sys" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "612ceabf43b8c293b165f987539018b3fe6e30dd8af0c890dee1461c75250adb" +version = "0.11.0" +source = "git+https://github.com/syndelis/imgui-rs?branch=fix/alpha-blending#05f54c9a8a9752b78204ea1a0983c0b36e01c830" dependencies = [ "cc", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index e54fd0c..85225b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ readme = "README.md" [dependencies] implot-sys = { path = "implot-sys" } -imgui = { version = "0.10.0", features = ["docking"] } +imgui = { git = "https://github.com/syndelis/imgui-rs", branch = "fix/alpha-blending", features = ["docking"] } bitflags = "1.0" parking_lot = "0.11" rustversion = "1.0.4" diff --git a/implot-sys-bindgen/Cargo.toml b/implot-sys-bindgen/Cargo.toml index 9a3c56a..68327de 100644 --- a/implot-sys-bindgen/Cargo.toml +++ b/implot-sys-bindgen/Cargo.toml @@ -6,5 +6,5 @@ edition = "2018" [dependencies] bindgen = "0.57" -imgui-sys = {version = "0.10.0", features=["docking"]} +imgui-sys = { git = "https://github.com/syndelis/imgui-rs", branch = "fix/alpha-blending", features = ["docking"] } diff --git a/implot-sys/Cargo.toml b/implot-sys/Cargo.toml index 9f174de..d7e78a7 100644 --- a/implot-sys/Cargo.toml +++ b/implot-sys/Cargo.toml @@ -12,7 +12,7 @@ build = "build.rs" links = "implot" [dependencies] -imgui-sys = {version = "0.10.0", features=["docking"]} +imgui-sys = { git = "https://github.com/syndelis/imgui-rs", branch = "fix/alpha-blending", features = ["docking"] } libc = "0.2" [build-dependencies]