mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
st/dri: fix missing array size init.
Init array size to 1, reported by bnf on irc.
This commit is contained in:
parent
2d62e39c62
commit
02448f2241
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue