From: Chia-I Wu Date: Fri, 3 Dec 2010 03:57:37 +0000 (+0800) Subject: st/egl: Set pipe_resource::array_size to 1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9028f24b8af52fcd268cccd1b4a3856424b9a424;p=mesa.git st/egl: Set pipe_resource::array_size to 1. --- 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 38627a52ec2..b2d6b433c5e 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d_image.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d_image.c @@ -173,6 +173,7 @@ egl_g3d_reference_drm_buffer(_EGLDisplay *dpy, EGLint name, templ.width0 = attrs.Width; templ.height0 = attrs.Height; templ.depth0 = 1; + templ.array_size = 1; memset(&wsh, 0, sizeof(wsh)); wsh.handle = (unsigned) name;