diff options
Diffstat (limited to 'src/sna/sna_dri.c')
-rw-r--r-- | src/sna/sna_dri.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index e3bca1b1..ebcbdcf6 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -499,6 +499,7 @@ static void set_bo(PixmapPtr pixmap, struct kgem_bo *bo) assert(bo->proxy == NULL); assert(bo->flush); assert(priv->pinned & PIN_DRI); + assert((priv->pinned & PIN_PRIME) == 0); assert(priv->flush); /* Post damage on the new front buffer so that listeners, such |