Skip to content

Commit

Permalink
Fix rebase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fayalalebrun committed May 15, 2022
1 parent 8463de7 commit ec35275
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions build/textures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,6 @@ fn build_texture<W: Write>(dest: &mut W, ty: TextureType, dimensions: TextureDim
use crate::backend::Facade;
use crate::uniforms::{{UniformValue, AsUniformValue, Sampler, ImageUnit, ImageUnitError, ImageUnitFormat}};
use crate::framebuffer;
use Rect;
use crate::Rect;
Expand Down
1 change: 0 additions & 1 deletion src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use crate::version::Version;
pub use crate::context::Context;
pub use crate::context::ReleaseBehavior;


#[cfg(feature = "glutin")]
pub mod glutin;

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ impl fmt::Display for DrawError {
"Tried to use more image uniforms that the implementation has support for",
};

match *self {
match self {
UniformTypeMismatch { ref name, ref expected } =>
write!(
fmt,
Expand Down
2 changes: 1 addition & 1 deletion src/uniforms/bind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ fn bind_image_uniform<P, T>(
) -> Result<(), DrawError>
where P: ProgramExt, T: TextureExt
{
use ToGlEnum;
use crate::ToGlEnum;

let unit_behavior = unit_behavior.expect("Unit behavior should always be provided");
let image_unit = match image_unit_bind_points.get_unused() {
Expand Down

0 comments on commit ec35275

Please sign in to comment.