diff options
Diffstat (limited to 'src/radeon_exa_render.c')
-rw-r--r-- | src/radeon_exa_render.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c index 68a7a768..c75c6a52 100644 --- a/src/radeon_exa_render.c +++ b/src/radeon_exa_render.c @@ -527,9 +527,6 @@ static Bool FUNC_NAME(R100PrepareComposite)(int op, TRACE; - if (!info->accel_state->XInited3D) - RADEONInit3DEngine(pScrn); - if (!RADEONGetDestFormat(pDstPicture, &dst_format)) return FALSE; @@ -561,6 +558,9 @@ static Bool FUNC_NAME(R100PrepareComposite)(int op, RADEON_SWITCH_TO_3D(); + if (!info->accel_state->XInited3D) + RADEONInit3DEngine(pScrn); + if (!FUNC_NAME(R100TextureSetup)(pSrcPicture, pSrc, 0)) return FALSE; pp_cntl = RADEON_TEX_0_ENABLE | RADEON_TEX_BLEND_0_ENABLE; @@ -830,9 +830,6 @@ static Bool FUNC_NAME(R200PrepareComposite)(int op, PicturePtr pSrcPicture, TRACE; - if (!info->accel_state->XInited3D) - RADEONInit3DEngine(pScrn); - if (!RADEONGetDestFormat(pDstPicture, &dst_format)) return FALSE; @@ -862,6 +859,9 @@ static Bool FUNC_NAME(R200PrepareComposite)(int op, PicturePtr pSrcPicture, RADEON_SWITCH_TO_3D(); + if (!info->accel_state->XInited3D) + RADEONInit3DEngine(pScrn); + if (!FUNC_NAME(R200TextureSetup)(pSrcPicture, pSrc, 0)) return FALSE; pp_cntl = RADEON_TEX_0_ENABLE | RADEON_TEX_BLEND_0_ENABLE; @@ -1194,9 +1194,6 @@ static Bool FUNC_NAME(R300PrepareComposite)(int op, PicturePtr pSrcPicture, TRACE; - if (!info->accel_state->XInited3D) - RADEONInit3DEngine(pScrn); - if (!R300GetDestFormat(pDstPicture, &dst_format)) return FALSE; @@ -1226,6 +1223,9 @@ static Bool FUNC_NAME(R300PrepareComposite)(int op, PicturePtr pSrcPicture, RADEON_SWITCH_TO_3D(); + if (!info->accel_state->XInited3D) + RADEONInit3DEngine(pScrn); + if (!FUNC_NAME(R300TextureSetup)(pSrcPicture, pSrc, 0)) return FALSE; txenable = R300_TEX_0_ENABLE; |