mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Conditionally enable create_png
This commit is contained in:
parent
6a4f240ebb
commit
a150d8776c
@ -61,6 +61,7 @@ pub struct BufferedTextureHead {
|
||||
pub buffer_dimensions: BufferDimensions,
|
||||
}
|
||||
|
||||
#[cfg(feature = "headless")]
|
||||
impl BufferedTextureHead {
|
||||
pub async fn create_png<'a>(
|
||||
&self,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user