Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Jul 16, 2023
1 parent 233eb3f commit 6dbd473
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Per Keep a Changelog there are 6 main categories of changes:

## Unreleased

## v0.23.0

- Bump imgui version to 0.11.0. @benmkw
- Fix issue with scissors due to wrong resizing logic. @dcvz
- Bump wgpu version to 0.16. @Nelarius
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imgui-wgpu"
version = "0.22.0"
version = "0.23.0"
authors = ["Noah Hüsser <yatekii@yatekii.ch>", "Connor Fitzgerald <connorwadefitzgerald@gmail.com>", "Steven Wittens <steven@acko.net>"]
edition = "2021"
description = "A wgpu render backend for imgui-rs."
Expand Down
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@ cargo run --release --example hello-world

# Status

Supports `wgpu` `0.14` and imgui `0.9`. `winit-0.27` is used with the examples.
Supports `wgpu` `0.16` and imgui `0.11`. `winit-0.27` is used with the examples.

Contributions are very welcome.

# Troubleshooting

## Cargo resolver

Starting with [`wgpu` 0.10](https://github.com/gfx-rs/wgpu/blob/06316c1bac8b78ac04d762cfb1a886bd1d453b30/CHANGELOG.md#v010-2021-08-18), the [resolver version](https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions) needs to be set in your `Cargo.toml` to avoid build errors:

```toml
resolver = "2"
```
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ impl Renderer {
///
/// This has to be called after loading a font.
pub fn reload_font_texture(&mut self, imgui: &mut Context, device: &Device, queue: &Queue) {
let mut fonts = imgui.fonts();
let fonts = imgui.fonts();
// Remove possible font atlas texture.
self.textures.remove(fonts.tex_id);

Expand Down

0 comments on commit 6dbd473

Please sign in to comment.