st/dri: one more missing array size
authorDave Airlie <airlied@redhat.com>
Tue, 1 Mar 2011 08:32:33 +0000 (18:32 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Mar 2011 08:32:33 +0000 (18:32 +1000)
whats one more between friends.

again bnf on irc.

src/gallium/state_trackers/dri/drm/dri2.c

index d42aae991616460cea1aebab42dc881e16264fe3..a5c94b4166b0de697cfec4db3395d683776af97e 100644 (file)
@@ -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) {