thanks, jk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
358 B

  1. use glium;
  2. #[derive(Debug)]
  3. pub enum Error {
  4. /// Error caused during creation of a Glium GPU-resident texture.
  5. TextureCreationError(glium::texture::TextureCreationError),
  6. }
  7. impl From<glium::texture::TextureCreationError> for Error {
  8. fn from(err: glium::texture::TextureCreationError) -> Error {
  9. Error::TextureCreationError(err)
  10. }
  11. }