Skip to content

Commit

Permalink
Revert "Remove gles compressed texture log::error! (gfx-rs#2630)"
Browse files Browse the repository at this point in the history
This reverts commit ebca329.
  • Loading branch information
stshine authored Apr 28, 2022
1 parent ebca329 commit 952111b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion wgpu-hal/src/gles/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,21 @@ impl super::Queue {
glow::CompressedPixelUnpackData::Slice(src_data)
}
};

log::error!(
"bytes_per_row: {}, \
minimum_rows_per_image: {}, \
rows_per_image: {}, \
bytes_per_image: {}, \
minimum_bytes_per_image: {}, \
bytes_in_upload: {}\
",
bytes_per_row,
minimum_rows_per_image,
rows_per_image,
bytes_per_image,
minimum_bytes_per_image,
bytes_in_upload
);
match dst_target {
glow::TEXTURE_3D
| glow::TEXTURE_CUBE_MAP_ARRAY
Expand Down

0 comments on commit 952111b

Please sign in to comment.