st/dri: fix missing array size init.
Init array size to 1, reported by bnf on irc.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user