Update glow to 0.16 (#5395)
<!-- Please read the "Making a PR" section of [`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md) before opening a Pull Request! * Keep your PR:s small and focused. * The PR title is what ends up in the changelog, so make it descriptive! * If applicable, add a screenshot or gif. * If it is a non-trivial addition, consider adding a demo for it to `egui_demo_lib`, or a new example. * Do NOT open PR:s from your `master` branch, as that makes it hard for maintainers to test and add commits to your PR. * Remember to run `cargo fmt` and `cargo clippy`. * Open the PR as a draft until you have self-reviewed it and run `./scripts/check.sh`. * When you have addressed a PR comment, mark it as resolved. Please be patient! I will review your PR, but my time is limited! --> * [X] I have followed the instructions in the PR template --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
88543270e0
commit
84cc1572b1
18
Cargo.lock
18
Cargo.lock
|
|
@ -1193,7 +1193,7 @@ dependencies = [
|
|||
"egui-wgpu",
|
||||
"egui-winit",
|
||||
"egui_glow",
|
||||
"glow",
|
||||
"glow 0.16.0",
|
||||
"glutin",
|
||||
"glutin-winit",
|
||||
"home",
|
||||
|
|
@ -1346,7 +1346,7 @@ dependencies = [
|
|||
"document-features",
|
||||
"egui",
|
||||
"egui-winit",
|
||||
"glow",
|
||||
"glow 0.16.0",
|
||||
"glutin",
|
||||
"glutin-winit",
|
||||
"log",
|
||||
|
|
@ -1830,6 +1830,18 @@ dependencies = [
|
|||
"web-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glow"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c5e5ea60d70410161c8bf5da3fdfeaa1c72ed2c15f8bbb9d19fe3a4fad085f08"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"slotmap",
|
||||
"wasm-bindgen",
|
||||
"web-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glutin"
|
||||
version = "0.32.1"
|
||||
|
|
@ -4406,7 +4418,7 @@ dependencies = [
|
|||
"bytemuck",
|
||||
"cfg_aliases 0.1.1",
|
||||
"core-graphics-types",
|
||||
"glow",
|
||||
"glow 0.14.2",
|
||||
"glutin_wgl_sys",
|
||||
"gpu-alloc",
|
||||
"gpu-descriptor",
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ bytemuck = "1.7.2"
|
|||
criterion = { version = "0.5.1", default-features = false }
|
||||
dify = { version = "0.7", default-features = false }
|
||||
document-features = "0.2.10"
|
||||
glow = "0.14"
|
||||
glow = "0.16"
|
||||
glutin = { version = "0.32.0", default-features = false }
|
||||
glutin-winit = { version = "0.5.0", default-features = false }
|
||||
home = "0.5.9"
|
||||
|
|
|
|||
|
|
@ -620,7 +620,7 @@ impl Painter {
|
|||
h as _,
|
||||
src_format,
|
||||
glow::UNSIGNED_BYTE,
|
||||
glow::PixelUnpackData::Slice(data),
|
||||
glow::PixelUnpackData::Slice(Some(data)),
|
||||
);
|
||||
check_for_gl_error!(&self.gl, "tex_sub_image_2d");
|
||||
} else {
|
||||
|
|
@ -635,7 +635,7 @@ impl Painter {
|
|||
border,
|
||||
src_format,
|
||||
glow::UNSIGNED_BYTE,
|
||||
Some(data),
|
||||
glow::PixelUnpackData::Slice(Some(data)),
|
||||
);
|
||||
check_for_gl_error!(&self.gl, "tex_image_2d");
|
||||
}
|
||||
|
|
@ -686,7 +686,7 @@ impl Painter {
|
|||
h as _,
|
||||
glow::RGBA,
|
||||
glow::UNSIGNED_BYTE,
|
||||
glow::PixelPackData::Slice(&mut pixels),
|
||||
glow::PixelPackData::Slice(Some(&mut pixels)),
|
||||
);
|
||||
}
|
||||
let mut flipped = Vec::with_capacity((w * h * 4) as usize);
|
||||
|
|
@ -711,7 +711,7 @@ impl Painter {
|
|||
h as _,
|
||||
glow::RGB,
|
||||
glow::UNSIGNED_BYTE,
|
||||
glow::PixelPackData::Slice(&mut pixels),
|
||||
glow::PixelPackData::Slice(Some(&mut pixels)),
|
||||
);
|
||||
}
|
||||
pixels
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ skip = [
|
|||
{ name = "cfg_aliases" }, # old version via wgpu
|
||||
{ name = "event-listener" }, # TODO(emilk): rustls pulls in two versions of this 😭
|
||||
{ name = "futures-lite" }, # old version via accesskit_unix and zbus
|
||||
{ name = "glow" }, # old version via wgpu
|
||||
{ name = "memoffset" }, # tiny dependency
|
||||
{ name = "ndk-sys" }, # old version via wgpu, winit uses newer version
|
||||
{ name = "quick-xml" }, # old version via wayland-scanner
|
||||
|
|
|
|||
Loading…
Reference in New Issue