From: Dave Airlie Date: Tue, 1 Mar 2011 08:32:33 +0000 (+1000) Subject: st/dri: one more missing array size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1ceda5cbdfe716824cb1f1689a7fc48611f297f;p=mesa.git st/dri: one more missing array size whats one more between friends. again bnf on irc. --- 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) {