From: Dave Airlie Date: Tue, 1 Mar 2011 08:24:15 +0000 (+1000) Subject: egl/st: add array size initialisor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d62e39c622124566779e504e7ed26eee96785fb;p=mesa.git egl/st: add array size initialisor reported by bnf on irc. --- diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_image.c b/src/gallium/state_trackers/egl/common/egl_g3d_image.c index 81ce7ab45c7..e1c83168b3a 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d_image.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d_image.c @@ -111,6 +111,7 @@ egl_g3d_create_drm_buffer(_EGLDisplay *dpy, _EGLImage *img, templ.width0 = attrs.Width; templ.height0 = attrs.Height; templ.depth0 = 1; + templ.array_size = 1; /* * XXX fix apps (e.g. wayland) and pipe drivers (e.g. i915) and remove the