summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver.c2
-rw-r--r--src/driver.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/driver.c b/src/driver.c
index bde690c..7df587e 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -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;
diff --git a/src/driver.h b/src/driver.h
index 494ca0c..2e51089 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -46,7 +46,6 @@ typedef struct
typedef struct _modesettingRec
{
int fd;
- unsigned int fb_id;
EntPtr entityPrivate;