projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44b653
)
egl/st: add array size initialisor
author
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 08:24:15 +0000
(18:24 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 08:24:15 +0000
(18:24 +1000)
reported by bnf on irc.
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 81ce7ab45c7a135ac69120e9bc1ad3c5917b37f5..e1c83168b3a2a7f5225c3ea29606ef58be34eb3e 100644
(file)
--- 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