Added used arg to iload

This commit is contained in:
Jeff Hartmann 2000-02-07 01:09:00 +00:00
parent a04696c0b6
commit 1354a25002
2 changed files with 2 additions and 1 deletions

View file

@ -233,7 +233,7 @@ static int mgaIload(drm_device_t *dev, drm_mga_iload_t *args)
buf_priv->ContextState[MGA_CTXREG_MACCESS] = args->mAccess;
buf_priv->nbox = 1;
sarea_priv->dirty |= MGASAREA_NEW_CONTEXT;
buf->used = args->used;
d.context = DRM_KERNEL_CONTEXT;
d.send_count = 1;
d.send_indices = &buf->idx;

View file

@ -127,6 +127,7 @@ typedef struct {
unsigned int mAccess;
xf86drmClipRectRec texture;
int idx;
int used;
} drm_mga_iload_t;
/* Each context has a state: