projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02448f2
)
st/dri: one more missing array size
author
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 08:32:33 +0000
(18:32 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 08:32:33 +0000
(18:32 +1000)
whats one more between friends.
again bnf on irc.
src/gallium/state_trackers/dri/drm/dri2.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index d42aae991616460cea1aebab42dc881e16264fe3..a5c94b4166b0de697cfec4db3395d683776af97e 100644
(file)
--- a/
src/gallium/state_trackers/dri/drm/dri2.c
+++ b/
src/gallium/state_trackers/dri/drm/dri2.c
@@
-511,6
+511,7
@@
dri2_create_image(__DRIscreen *_screen,
templ.width0 = width;
templ.height0 = height;
templ.depth0 = 1;
+ templ.array_size = 1;
img->texture = screen->base.screen->resource_create(screen->base.screen, &templ);
if (!img->texture) {