summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-03-01 18:24:15 +1000
committerDave Airlie <[email protected]>2011-03-01 18:24:15 +1000
commit2d62e39c622124566779e504e7ed26eee96785fb (patch)
tree8c05437f0182aa57c2f4153579ecbefa08952161 /src/gallium
parenta44b65312e2cbba641652f4c78b8db9f24ba39b6 (diff)
egl/st: add array size initialisor
reported by bnf on irc.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d_image.c1
1 files changed, 1 insertions, 0 deletions
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