fix fb_id for dirty reporting

This commit is contained in:
Dave Airlie 2011-10-03 16:09:12 +01:00
parent 79959b7347
commit 6f581e3fde
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -46,7 +46,6 @@ typedef struct
typedef struct _modesettingRec
{
int fd;
unsigned int fb_id;
EntPtr entityPrivate;