mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-07 19:18:04 +02:00
Added used arg to iload
This commit is contained in:
parent
a04696c0b6
commit
1354a25002
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ typedef struct {
|
|||
unsigned int mAccess;
|
||||
xf86drmClipRectRec texture;
|
||||
int idx;
|
||||
int used;
|
||||
} drm_mga_iload_t;
|
||||
|
||||
/* Each context has a state:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue