diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-12-28 14:40:03 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-12-28 14:40:03 +0000 |
commit | fc3a735d42a0dcd748b6b8dc2c63bafde01effd0 (patch) | |
tree | 9b40fc63ccdb80ebec638a8c31e73c17f8dbbaeb /xserver/miext | |
parent | da8308393b93d5c87075d65ace98cd249643e165 (diff) |
Update to xserver 1.14.5
Diffstat (limited to 'xserver/miext')
-rw-r--r-- | xserver/miext/damage/damage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xserver/miext/damage/damage.c b/xserver/miext/damage/damage.c index a98c20ec0..3dc3180f3 100644 --- a/xserver/miext/damage/damage.c +++ b/xserver/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); } |