summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-10-12 18:22:36 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2010-10-12 18:26:05 +0200
commit893620e52ea2b6ffc2e50f6bd9b7def76c405424 (patch)
tree113e7561fe59312442daacbea409af6b1648b971
parentf1c1ee11d34f4aa5975641a615c7fd2edb32e1c0 (diff)
st/xorg: Fix typo
Pointed out by Jakob Bornecrantz. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
-rw-r--r--src/gallium/state_trackers/xorg/xorg_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c
index ca745393a9a..3a5db9856d4 100644
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
@@ -369,7 +369,7 @@ drv_pre_init(ScrnInfoPtr pScrn, int flags)
ms = modesettingPTR(pScrn);
ms->pEnt = pEnt;
ms->cust = cust;
- ms->fb_id = 1;
+ ms->fb_id = -1;
pScrn->displayWidth = 640; /* default it */