renderer: import_buffer (sadly) depends on backend_egl

This commit is contained in:
Victor Brekenfeld 2021-05-18 21:02:27 +02:00
parent 918241eb31
commit bbf0643272
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ pub trait Renderer {
/// ///
/// The implementation defines, if the id keeps being valid, if the buffer is released, /// The implementation defines, if the id keeps being valid, if the buffer is released,
/// to avoid relying on implementation details, keep the buffer alive, until you destroyed this texture again. /// to avoid relying on implementation details, keep the buffer alive, until you destroyed this texture again.
#[cfg(feature = "wayland_frontend")] #[cfg(all(feature = "wayland_frontend", feature = "backend_egl"))]
fn import_buffer( fn import_buffer(
&mut self, &mut self,
buffer: &wl_buffer::WlBuffer, buffer: &wl_buffer::WlBuffer,