projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60a5b8
)
st/egl: Set pipe_resource::array_size to 1.
author
Chia-I Wu
<olv@lunarg.com>
Fri, 3 Dec 2010 03:57:37 +0000
(11:57 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Fri, 3 Dec 2010 06:22:32 +0000
(14:22 +0800)
src/gallium/state_trackers/egl/common/egl_g3d_image.c
patch
|
blob
|
history
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 38627a52ec221b245855eee58850c43d70f8390e..b2d6b433c5e009ce2fb8c3c510e5662dacb812fc 100644
(file)
--- 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;