Mesa (master): egl/st: add array size initialisor
Dave Airlie
airlied at kemper.freedesktop.org
Tue Mar 1 08:31:30 UTC 2011
Module: Mesa
Branch: master
Commit: 2d62e39c622124566779e504e7ed26eee96785fb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d62e39c622124566779e504e7ed26eee96785fb
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Mar 1 18:24:15 2011 +1000
egl/st: add array size initialisor
reported by bnf on irc.
---
.../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 81ce7ab..e1c8316 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
More information about the mesa-commit
mailing list