diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/dri/drm/dri2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 0181588096d..d42aae99161 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/src/gallium/state_trackers/dri/drm/dri2.c @@ -317,6 +317,7 @@ dri2_allocate_buffer(__DRIscreen *sPriv, templ.width0 = width; templ.height0 = height; templ.depth0 = 1; + templ.array_size = 1; buffer->resource = screen->base.screen->resource_create(screen->base.screen, &templ); |