summaryrefslogtreecommitdiff
path: root/glamor/glamor_pixmap.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-06-16 07:06:30 +0100
committerEric Anholt <eric@anholt.net>2014-07-17 17:35:44 -0700
commitb5f94df319469ad44b0e88374a0d389414803f7a (patch)
tree0284f92e859cc172252b1507aff8b1454080b92b /glamor/glamor_pixmap.c
parent98155bd9d9b2a15a4dbcf80b2b57a7636efb14da (diff)
glamor: Drop dead glamor_restore_pixmap_to_texture().
Unused since the glamor_prepare.c replacement of glamor_finish_access(). Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor_pixmap.c')
-rw-r--r--glamor/glamor_pixmap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/glamor/glamor_pixmap.c b/glamor/glamor_pixmap.c
index 2275ede32..725fa5e7f 100644
--- a/glamor/glamor_pixmap.c
+++ b/glamor/glamor_pixmap.c
@@ -1064,13 +1064,6 @@ glamor_upload_pixmap_to_texture(PixmapPtr pixmap)
return ret;
}
-void
-glamor_restore_pixmap_to_texture(PixmapPtr pixmap)
-{
- if (glamor_upload_pixmap_to_texture(pixmap) != GLAMOR_UPLOAD_DONE)
- LogMessage(X_WARNING, "Failed to restore pixmap to texture.\n");
-}
-
/*
* as gles2 only support a very small set of color format and
* type when do glReadPixel,