From 2d62e39c622124566779e504e7ed26eee96785fb Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 1 Mar 2011 18:24:15 +1000 Subject: [PATCH] egl/st: add array size initialisor reported by bnf on irc. --- src/gallium/state_trackers/egl/common/egl_g3d_image.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2