[Mesa-dev] [PATCH 01/17] radeon: Add missing swrast field initialization.
Eric Anholt
eric at anholt.net
Mon Apr 22 09:14:42 PDT 2013
This is the equivalent of intel's
80513ec8b4c812b9c6249cc5824337a5f04ab34c.
---
src/mesa/drivers/dri/radeon/radeon_texture.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c
index 0bd2c24..b1bc0fc 100644
--- 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;
--
1.7.10.4
More information about the mesa-dev
mailing list