Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit a705073

Browse files
committed
Specify real (not yet defined) function
1 parent 0a11e41 commit a705073

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/backend/headless.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ impl HeadlessBackend {
3030
}
3131

3232

33-
// TODO Specify the real function to use to get the pixels.
34-
3533
/// Create a new headless output backed by an in-memory EGL framebuffer.
3634
///
37-
/// You can read pixels from this framebuffer via `wlr_renderer_read_pixels`
35+
/// You can read pixels from this framebuffer via `Renderer::read_pixels`
3836
/// but it is otherwise not displayed.
3937
pub fn add_output(&self, width: libc::c_uint, height: libc::c_uint) -> Option<OutputHandle> {
4038
unsafe {

0 commit comments

Comments
 (0)