Skip to content

Commit

Permalink
make gputexture fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
coderedart committed Nov 10, 2023
1 parent 61956db commit 9b0b5eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/egui_render_glow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egui_render_glow"
version = "0.5.1"
version = "0.5.2"
edition = "2021"
description = "egui rendering backend using glow"
license = "MIT"
Expand Down
8 changes: 4 additions & 4 deletions crates/egui_render_glow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ impl GlowBackend {
}
}
pub struct GpuTexture {
handle: glow::Texture,
width: u32,
height: u32,
sampler: Sampler,
pub handle: glow::NativeTexture,
pub width: u32,
pub height: u32,
pub sampler: NativeSampler,
}

/// Egui Painter using glow::Context
Expand Down

0 comments on commit 9b0b5eb

Please sign in to comment.