mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Change debug assertions to specific ones
This commit is contained in:
parent
2cf0077be1
commit
661d234c3c
23 changed files with 53 additions and 53 deletions
|
@ -313,7 +313,7 @@ impl WebGLTexture {
|
|||
}
|
||||
|
||||
fn is_cube_complete(&self) -> bool {
|
||||
debug_assert!(self.face_count.get() == 6);
|
||||
debug_assert_eq!(self.face_count.get(), 6);
|
||||
|
||||
let image_info = self.base_image_info().unwrap();
|
||||
if !image_info.is_defined() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue