1
0
Fork 0
forked from wry/wry

render: simplify buffer coordinates

This commit is contained in:
Julian Orth 2024-02-27 23:44:05 +01:00
parent 85c11448fb
commit 7d3b8b6278
10 changed files with 337 additions and 419 deletions

View file

@ -1,6 +1,6 @@
use {
crate::{
gfx_api::{BufferPoints, GfxApiOpt},
gfx_api::{GfxApiOpt, SampleRect},
ifs::{
wl_buffer::WlBuffer,
wl_callback::WlCallback,
@ -350,7 +350,7 @@ impl Renderer<'_> {
buffer: &WlBuffer,
x: i32,
y: i32,
tpoints: BufferPoints,
tpoints: SampleRect,
tsize: (i32, i32),
bounds: Option<&Rect>,
) {