ecore-drm2: Fix drmModeSetCrtc call during fb flip

drmModeSetCrtc x & y values are actually offsets into the framebuffer
memory. As such, we should not be sending output position here.

@fix
This commit is contained in:
Christopher Michael 2019-01-02 10:03:06 -05:00
parent cbac8eddb0
commit bd6d83bee7
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ _fb_flip(Ecore_Drm2_Output *output)
{
ret =
sym_drmModeSetCrtc(fb->fd, output->crtc_id, fb->id,
output->x, output->y, &output->conn_id, 1,
0, 0, &output->conn_id, 1,
&output->current_mode->info);
if (ret)
{