aboutsummaryrefslogtreecommitdiff
path: root/libdrm/xf86drm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-30 17:40:07 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-30 17:40:07 +0200
commitd39055174b5a487f0d848e1af4c3459fb4261bf1 (patch)
treec0fe7fc82453a87783d934bf575f979566a29d4a /libdrm/xf86drm.c
parentff95ea5536d70f9bc8eac12f2c97dae71fb97066 (diff)
Remove the buffer object hint field and use it only
as an argument. Validate stub.
Diffstat (limited to 'libdrm/xf86drm.c')
-rw-r--r--libdrm/xf86drm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 6ffc4b39..1763b89a 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -2612,7 +2612,6 @@ int drmBOCreate(int fd, drmTTM *ttm, unsigned long start, unsigned long size,
buf->mapCount = 0;
buf->virtual = NULL;
buf->mask = rep->mask;
- buf->hint = rep->hint;
buf->start = rep->buffer_start;
return 0;
@@ -2672,7 +2671,6 @@ int drmBOReference(int fd, unsigned handle, drmBO *buf)
buf->mapCount = 0;
buf->virtual = NULL;
buf->mask = rep->mask;
- buf->hint = rep->hint;
buf->start = rep->buffer_start;
return 0;
}