aboutsummaryrefslogtreecommitdiff
path: root/niri-visual-tests/src/cases/gradient_srgb_alpha.rs
diff options
context:
space:
mode:
Diffstat (limited to 'niri-visual-tests/src/cases/gradient_srgb_alpha.rs')
-rw-r--r--niri-visual-tests/src/cases/gradient_srgb_alpha.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/niri-visual-tests/src/cases/gradient_srgb_alpha.rs b/niri-visual-tests/src/cases/gradient_srgb_alpha.rs
index c1c3c75c..f4542e79 100644
--- a/niri-visual-tests/src/cases/gradient_srgb_alpha.rs
+++ b/niri-visual-tests/src/cases/gradient_srgb_alpha.rs
@@ -2,16 +2,16 @@ use niri::render_helpers::border::BorderRenderElement;
use niri_config::{Color, CornerRadius, GradientColorSpace, GradientInterpolation};
use smithay::backend::renderer::element::RenderElement;
use smithay::backend::renderer::gles::GlesRenderer;
-use smithay::utils::{Logical, Physical, Rectangle, Size};
+use smithay::utils::{Physical, Rectangle, Size};
-use super::TestCase;
+use super::{Args, TestCase};
pub struct GradientSrgbAlpha {
gradient_format: GradientInterpolation,
}
impl GradientSrgbAlpha {
- pub fn new(_size: Size<i32, Logical>) -> Self {
+ pub fn new(_args: Args) -> Self {
Self {
gradient_format: GradientInterpolation {
color_space: GradientColorSpace::Srgb,