diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-09-17 17:05:17 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-02-13 17:37:57 +0100 |
commit | 8409e44ae6b0e68cb440fcc621b6b3f5e569ac32 (patch) | |
tree | 0e15d7d7fd7a03c31b5c6f11fdb65262aef2e5f5 /server/red_parse_qxl.h | |
parent | 3439dea9ccc7fa24ee0b233700e4a60769080be9 (diff) |
worker: move compress to dcc_compress_image()
Diffstat (limited to 'server/red_parse_qxl.h')
-rw-r--r-- | server/red_parse_qxl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/red_parse_qxl.h b/server/red_parse_qxl.h index 87862fa2..b3b28e12 100644 --- a/server/red_parse_qxl.h +++ b/server/red_parse_qxl.h @@ -57,6 +57,12 @@ typedef struct RedDrawable { } u; } RedDrawable; +static inline RedDrawable *red_drawable_ref(RedDrawable *drawable) +{ + drawable->refs++; + return drawable; +} + typedef struct RedUpdateCmd { QXLReleaseInfo *release_info; SpiceRect area; |