Remove unused variable in backend/xrender.c

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2018-12-31 14:08:35 +00:00
parent 6226ab1228
commit 0b94bde004
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 4 deletions

View File

@ -235,9 +235,6 @@ static void render_win(void *backend_data, session_t *ps, win *w, void *win_data
const region_t *reg_paint) {
struct _xrender_data *xd = backend_data;
struct _xrender_win_data *wd = win_data;
xcb_drawable_t draw = wd->pixmap;
if (!draw)
draw = w->id;
w->pixmap_damaged = false;
@ -326,7 +323,7 @@ static void render_win(void *backend_data, session_t *ps, win *w, void *win_data
wd->rendered_pict, color, 1, &rect);
}
pixman_region32_fini(&reg_paint_local);
pixman_region32_fini(&reg_paint_local);
}
static void *prepare_win(void *backend_data, session_t *ps, win *w) {