wayland.backend.egl: derive Debug for Format

This commit is contained in:
Victor Berger 2018-05-19 19:48:13 +02:00
parent 07a98ac5e8
commit 89764bf442
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ impl ::std::error::Error for TextureCreationError {
/// Texture format types
#[repr(i32)]
#[allow(non_camel_case_types)]
#[derive(Debug)]
pub enum Format {
/// RGB format
RGB = ffi::egl::TEXTURE_RGB as i32,