From b1ceda5cbdfe716824cb1f1689a7fc48611f297f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 1 Mar 2011 18:32:33 +1000 Subject: [PATCH] st/dri: one more missing array size whats one more between friends. again bnf on irc. --- src/gallium/state_trackers/dri/drm/dri2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index d42aae99161..a5c94b4166b 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/src/gallium/state_trackers/dri/drm/dri2.c @@ -511,6 +511,7 @@ dri2_create_image(__DRIscreen *_screen, templ.width0 = width; templ.height0 = height; templ.depth0 = 1; + templ.array_size = 1; img->texture = screen->base.screen->resource_create(screen->base.screen, &templ); if (!img->texture) { -- 2.30.2