aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/tty.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tty.rs b/src/backend/tty.rs
index 3b5cd31c..198a63cc 100644
--- a/src/backend/tty.rs
+++ b/src/backend/tty.rs
@@ -972,7 +972,7 @@ impl Tty {
surface,
None,
allocator.clone(),
- GbmFramebufferExporter::new(device.gbm.clone()),
+ GbmFramebufferExporter::new(device.gbm.clone(), Some(device.render_node)),
SUPPORTED_COLOR_FORMATS,
// This is only used to pick a good internal format, so it can use the surface's render
// formats, even though we only ever render on the primary GPU.
@@ -1002,7 +1002,7 @@ impl Tty {
surface,
None,
allocator,
- GbmFramebufferExporter::new(device.gbm.clone()),
+ GbmFramebufferExporter::new(device.gbm.clone(), Some(device.render_node)),
SUPPORTED_COLOR_FORMATS,
render_formats,
device.drm.cursor_size(),