projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a4b70
)
radeon: Add missing swrast field initialization.
88/6288/1
author
Eric Anholt
<eric@anholt.net>
Fri, 19 Apr 2013 18:52:36 +0000
(11:52 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 30 Apr 2013 17:40:42 +0000
(10:40 -0700)
This is the equivalent of intel's
80513ec8b4c812b9c6249cc5824337a5f04ab34c
.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/radeon/radeon_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_texture.c
b/src/mesa/drivers/dri/radeon/radeon_texture.c
index
0bd2c24
..
b1bc0fc
100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_texture.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_texture.c
@@
-120,6
+120,9
@@
radeonAllocTextureImageBuffer(struct gl_context *ctx,
}
assert(!image->base.ImageOffsets);
image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
+
+ _swrast_init_texture_image(timage);
+
teximage_assign_miptree(rmesa, texobj, timage);
return GL_TRUE;