fix fb_id for dirty reporting
This commit is contained in:
parent
79959b7347
commit
6f581e3fde
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue