diff options
Diffstat (limited to 'tests/perf.c')
-rw-r--r-- | tests/perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf.c b/tests/perf.c index f5dd6051..982277df 100644 --- a/tests/perf.c +++ b/tests/perf.c @@ -506,9 +506,9 @@ scratch_buf_init(drm_intel_bufmgr *bufmgr, memset(buf, 0, sizeof(*buf)); buf->bo = bo; - buf->stride = stride; + buf->surface[0].stride = stride; buf->tiling = I915_TILING_NONE; - buf->size = size; + buf->surface[0].size = size; buf->bpp = 32; } |