diff options
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 9ecf8074..6414b56c 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -353,6 +353,15 @@ static void RADEONEnterServer(ScreenPtr pScreen) RADEONInfoPtr info = RADEONPTR(pScrn); if (info->accel) info->accel->NeedToSync = TRUE; +#ifdef RENDER + if (info->RenderAccel) { + RADEONSAREAPrivPtr pSAREAPriv; + + RADEONInit3DEngineForRender(pScrn); + pSAREAPriv = DRIGetSAREAPrivate(pScrn->pScreen); + pSAREAPriv->ctxOwner = DRIGetContext(pScrn->pScreen); + } +#endif } /* Called when the X server goes to sleep to allow the X server's |