make use_mode use the new mode size on test_buffer
This commit is contained in:
parent
f8014568de
commit
9a7cd23093
|
@ -354,7 +354,7 @@ impl<A: AsRawFd + 'static> AtomicDrmSurface<A> {
|
||||||
source,
|
source,
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
let test_fb = self.create_test_buffer(pending.mode.size())?;
|
let test_fb = self.create_test_buffer(mode.size())?;
|
||||||
let req = self.build_request(
|
let req = self.build_request(
|
||||||
&mut pending.connectors.iter(),
|
&mut pending.connectors.iter(),
|
||||||
&mut [].iter(),
|
&mut [].iter(),
|
||||||
|
|
Loading…
Reference in New Issue