mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
fix fb_id for dirty reporting
This commit is contained in:
@@ -327,7 +327,7 @@ static void dispatch_dirty(ScreenPtr pScreen)
|
||||
}
|
||||
|
||||
/* TODO query connector property to see if this is needed */
|
||||
ret = drmModeDirtyFB(ms->fd, ms->fb_id, clip, num_cliprects);
|
||||
ret = drmModeDirtyFB(ms->fd, ms->drmmode.fb_id, clip, num_cliprects);
|
||||
if (ret) {
|
||||
if (ret == -EINVAL) {
|
||||
ms->dirty_enabled = FALSE;
|
||||
|
||||
@@ -46,7 +46,6 @@ typedef struct
|
||||
typedef struct _modesettingRec
|
||||
{
|
||||
int fd;
|
||||
unsigned int fb_id;
|
||||
|
||||
EntPtr entityPrivate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user