mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
Initialize output position properly.
This commit is contained in:
parent
3b94998f6a
commit
e68d24c559
1 changed files with 2 additions and 0 deletions
|
|
@ -922,6 +922,8 @@ create_output(struct egl_compositor *ec, struct udev_device *device)
|
|||
output->crtc_id = encoder->crtc_id;
|
||||
output->connector_id = connector->connector_id;
|
||||
output->mode = mode;
|
||||
output->x = 0;
|
||||
output->y = 0;
|
||||
output->width = mode->hdisplay;
|
||||
output->height = mode->vdisplay;
|
||||
output->stride = mode->hdisplay * 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue