diff options
| author | Chia-I Wu <olv@lunarg.com> | 2010-12-03 11:57:37 +0800 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2010-12-03 14:22:32 +0800 |
| commit | 9028f24b8af52fcd268cccd1b4a3856424b9a424 (patch) | |
| tree | 71505837a3f8cdd941f24f14931d19f13efb1141 /src | |
| parent | a60a5b850bde94c9c0c21f07800ed57436525998 (diff) | |
st/egl: Set pipe_resource::array_size to 1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/gallium/state_trackers/egl/common/egl_g3d_image.c | 1 |
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 38627a52ec..b2d6b433c5 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; |
