Skip to content

Commit

Permalink
update update_deferred_resolves() error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryShih committed Mar 28, 2017
1 parent 3a922ac commit b3a3dfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webrender/src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,8 @@ impl Renderer {
ExternalImageType::Texture2DHandle => TextureTarget::Default,
ExternalImageType::TextureRectHandle => TextureTarget::Rect,
_ => {
panic!("Not a suitable image type.");
panic!("{:?} is not a suitable image type in update_deferred_resolves().",
ext_image.image_type);
}
};

Expand Down

0 comments on commit b3a3dfd

Please sign in to comment.