Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel

This commit is contained in:
Alan Hourihane 2006-08-21 12:08:01 +01:00
commit dad0e7fc09
1 changed files with 9 additions and 0 deletions

View File

@ -2288,6 +2288,15 @@ BroadwaterDisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id,
*/
*pI830->used3D |= 1 << 30;
#ifdef XF86DRI
/* Tell the DRI that we're smashing its state. */
if (pI830->directRenderingEnabled) {
drmI830Sarea *pSAREAPriv = DRIGetSAREAPrivate(pScrn->pScreen);
pSAREAPriv->ctxOwner = DRIGetContext(pScrn->pScreen);
}
#endif /* XF86DRI */
next_offset = 0;
/* Set up our layout of state in framebuffer. First the general state: */