summaryrefslogtreecommitdiff
path: root/src/gbm
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2012-08-15 11:37:18 +0200
committerJakob Bornecrantz <jakob@vmware.com>2012-08-26 15:39:41 +0200
commit6bb71b8cbe6b17a5d59e369631502e642804406e (patch)
tree83f65ee781bb45342ce919916b340a7370a83bfa /src/gbm
parenta669a5055eadae85ffa000cea19a2241d0699348 (diff)
dri: Remove image write function
Since its not used by anything anymore and no release has gone out where it was being used. Tested-by: Scott Moreau <oreaus@gmail.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/backends/dri/gbm_dri.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index 47874aede9c..59a3d813165 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -515,8 +515,6 @@ gbm_dri_bo_create(struct gbm_device *gbm,
dri_use |= __DRI_IMAGE_USE_SCANOUT;
if (usage & GBM_BO_USE_CURSOR_64X64)
dri_use |= __DRI_IMAGE_USE_CURSOR;
- if (usage & GBM_BO_USE_WRITE)
- dri_use |= __DRI_IMAGE_USE_WRITE;
/* Gallium drivers requires shared in order to get the handle/stride */
dri_use |= __DRI_IMAGE_USE_SHARE;