Skip to content

Commit a23f8bb

Browse files
committed
Unecessasry cfg block.
1 parent 2f26512 commit a23f8bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/processing_pyo3/src/graphics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl PyBlendMode {
139139
/// - `filter` — `Sampler.LINEAR` (smooth) or `Sampler.NEAREST` (pixelated).
140140
/// - `wrap` — `Sampler.CLAMP` (default), `Sampler.REPEAT`, or `Sampler.MIRROR`.
141141
/// Use `wrap_x`/`wrap_y` to set each axis independently.
142-
#[pyclass]
142+
#[pyclass(from_py_object)]
143143
#[derive(Clone)]
144144
pub struct Sampler {
145145
pub(crate) filter: u8,

0 commit comments

Comments
 (0)