summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-03-01 18:32:33 +1000
committerDave Airlie <[email protected]>2011-03-01 18:32:33 +1000
commitb1ceda5cbdfe716824cb1f1689a7fc48611f297f (patch)
tree4fba5db8424e34667f343b86e9646953971a8c64 /src/gallium/state_trackers/dri
parent02448f2241d90fdbf97b0197e857a8f5acf5d4c7 (diff)
st/dri: one more missing array size
whats one more between friends. again bnf on irc.
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r--src/gallium/state_trackers/dri/drm/dri2.c1
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 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) {