diff options
Diffstat (limited to 'src/glamor_picture.c')
-rw-r--r-- | src/glamor_picture.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glamor_picture.c b/src/glamor_picture.c index a6d21f1..44e1e40 100644 --- a/src/glamor_picture.c +++ b/src/glamor_picture.c @@ -101,8 +101,8 @@ glamor_create_picture(PicturePtr picture) } } - pixmap_priv->is_picture = 1; - pixmap_priv->pict_format = picture->format; + pixmap_priv->base.is_picture = 1; + pixmap_priv->base.picture = picture; return miCreatePicture(picture); } @@ -123,8 +123,8 @@ glamor_destroy_picture(PicturePtr picture) pixmap_priv = glamor_get_pixmap_private(pixmap); if (pixmap_priv) { - pixmap_priv->is_picture = 0; - pixmap_priv->pict_format = 0; + pixmap_priv->base.is_picture = 0; + pixmap_priv->base.picture = NULL; } miDestroyPicture(picture); } @@ -133,5 +133,5 @@ void glamor_picture_format_fixup(PicturePtr picture, glamor_pixmap_private * pixmap_priv) { - pixmap_priv->pict_format = picture->format; + pixmap_priv->base.picture = picture; } |