wayland.backend.egl: derive Debug for Format
This commit is contained in:
parent
07a98ac5e8
commit
89764bf442
|
@ -137,6 +137,7 @@ impl ::std::error::Error for TextureCreationError {
|
||||||
/// Texture format types
|
/// Texture format types
|
||||||
#[repr(i32)]
|
#[repr(i32)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
|
#[derive(Debug)]
|
||||||
pub enum Format {
|
pub enum Format {
|
||||||
/// RGB format
|
/// RGB format
|
||||||
RGB = ffi::egl::TEXTURE_RGB as i32,
|
RGB = ffi::egl::TEXTURE_RGB as i32,
|
||||||
|
|
Loading…
Reference in New Issue