diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-02-20 03:22:26 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-02-20 03:22:26 +0000 |
commit | 073c4a6a18e98e2dde114756b5d787b13bb2b7a5 (patch) | |
tree | 64b6cfae2f478a43697931cf6002edc59f64f33b /src/i830_rotate.c | |
parent | 7cca2ae73e0114a9df2152ed5ed5b66fc44f65dd (diff) |
Fix a rotation problem when DRI is disabled
Diffstat (limited to 'src/i830_rotate.c')
-rw-r--r-- | src/i830_rotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_rotate.c b/src/i830_rotate.c index f60d64fe..364f9696 100644 --- a/src/i830_rotate.c +++ b/src/i830_rotate.c @@ -253,7 +253,7 @@ I915UpdateRotate (ScreenPtr pScreen, updateInvarient = TRUE; #ifdef XF86DRI - if (sarea->ctxOwner != myContext) + if (sarea && sarea->ctxOwner != myContext) updateInvarient = TRUE; #endif @@ -485,7 +485,7 @@ I830UpdateRotate (ScreenPtr pScreen, updateInvarient = TRUE; #ifdef XF86DRI - if (sarea->ctxOwner != myContext) + if (sarea && sarea->ctxOwner != myContext) updateInvarient = TRUE; #endif |