diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-06 16:54:16 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-06 16:54:16 +0100 |
commit | e972265261c421268e4fb806e587378d0adec577 (patch) | |
tree | 2b9072668fbb46e6324cef29673b4c2ccd9b520b | |
parent | 3c08bc7d6974a1a6cf5f9cb81898617032966c52 (diff) |
Fix build failure.
Not sure how I missed this before... Thanks to Todd Merrill for reporting.
-rw-r--r-- | src/i830_dri.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c index bb9de1e8..9931acc4 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -756,8 +756,9 @@ I830DRIMapScreenRegions(ScrnInfoPtr pScrn, drmI830Sarea *sarea) xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "[drm] drmAddMap(third_handle) failed. Triple buffering " "inactive\n"); - i830_free_memory(pI830->third_buffer); - sarea->third_handle = pI830->third_buffer = NULL; + i830_free_memory(pScrn, pI830->third_buffer); + pI830->third_buffer = NULL; + sarea->third_handle = 0; } else xf86DrvMsg(pScrn->scrnIndex, X_INFO, "[drm] Third Buffer = 0x%08x\n", (int)sarea->third_handle); |