fix: compile
This commit is contained in:
parent
d2742a35a4
commit
4984514911
|
|
@ -2332,13 +2332,12 @@ drmmode_scanout_destroy(xf86CrtcPtr crtc, drmmode_shadow_scanout_ptr scanout)
|
||||||
scanout->fb_id = 0;
|
scanout->fb_id = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
drmmode_set_pixmap_bo(drmmode, rotate_pixmap, &drmmode_crtc->shadow_rotated.bo);
|
|
||||||
drmmode_bo_destroy(drmmode, &scanout->bo);
|
drmmode_bo_destroy(drmmode, &scanout->bo);
|
||||||
memset(&scanout->bo, 0, sizeof scanout->bo);
|
memset(&scanout->bo, 0, sizeof scanout->bo);
|
||||||
|
|
||||||
RegionEmpty(&scanout->screen_damage);
|
RegionEmpty(&scanout->screen_damage);
|
||||||
|
|
||||||
free(scanout)
|
free(scanout);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue