summaryrefslogtreecommitdiff
path: root/glamor/glamor_pixmap.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-23 18:16:01 -0800
committerEric Anholt <eric@anholt.net>2014-03-10 11:06:27 -0700
commit4e86f4236b32b61796d820714dc12457dbc92e28 (patch)
treea92b5a4dae39d19c2ded93d1183843b91d4155c3 /glamor/glamor_pixmap.c
parent7f15e5aed79803fa6057fbfda7dfbacacc2e019d (diff)
glamor: remove dead global variable.
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Markus Wick <markus at selfnet.de>
Diffstat (limited to 'glamor/glamor_pixmap.c')
-rw-r--r--glamor/glamor_pixmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/glamor/glamor_pixmap.c b/glamor/glamor_pixmap.c
index 77197b5d1..f1440f3ea 100644
--- a/glamor/glamor_pixmap.c
+++ b/glamor/glamor_pixmap.c
@@ -697,7 +697,6 @@ glamor_color_convert_to_bits(void *src_bits, void *dst_bits, int w, int h,
* Upload pixmap to a specified texture.
* This texture may not be the one attached to it.
**/
-int in_restore = 0;
static void
__glamor_upload_pixmap_to_texture(PixmapPtr pixmap, unsigned int *tex,
GLenum format,