Skip to content

Commit

Permalink
(fix): fixed DepthAttachment init value by #4
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualGMQ committed Jun 25, 2023
1 parent 04817dd commit c12c94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl PureElemImage<u8> {
impl PureElemImage<f32> {
pub fn new(w: u32, h: u32) -> Self {
Self {
data: vec![std::f32::MAX; (w * h) as usize],
data: vec![0.0; (w * h) as usize],
w,
h,
}
Expand Down

0 comments on commit c12c94e

Please sign in to comment.