Fixes regression from: 4dc2a76740d921c824a4d8193f39dd373475f02a http://lists.x.org/archives/xorg-devel/2013-May/036241.html https://trac.macports.org/ticket/38993
Signed-off-by: Jeremy Huddleston Sequoia <[email protected]> CC: Adam Jackson <[email protected]> CC: Aaron Plattner <[email protected]> CC: Keith Packard <[email protected]> --- miext/damage/damage.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/miext/damage/damage.c b/miext/damage/damage.c index a98c20e..3dc3180 100644 --- a/miext/damage/damage.c +++ b/miext/damage/damage.c @@ -439,10 +439,7 @@ damageValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable) drawableDamage(pDrawable); DAMAGE_GC_FUNC_PROLOGUE(pGC); (*pGC->funcs->ValidateGC) (pGC, changes, pDrawable); - if (pDamage) - pGCPriv->ops = pGC->ops; /* so it's not NULL, so FUNC_EPILOGUE does work */ - else - pGCPriv->ops = NULL; + pGCPriv->ops = pGC->ops; /* just so it's not NULL */ DAMAGE_GC_FUNC_EPILOGUE(pGC); } -- 1.8.4.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
