[Mesa-dev] [PATCH 20/23] i965 teximage: allocate texture image buffer for fallback path

Jordan Justen jordan.l.justen at intel.com
Fri Jan 4 18:41:43 PST 2013


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 src/mesa/drivers/dri/intel/intel_tex_image.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 9676623..c6bb0f2 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -239,6 +239,7 @@ intelTexImage(struct gl_context * ctx,
        __FUNCTION__, texImage->Width, texImage->Height, texImage->Depth,
        pixels);
 
+   ctx->Driver.AllocTextureImageBuffer(ctx, texImage);
    if (format != GL_NONE && type != GL_NONE) {
       _mesa_store_teximage(ctx, dims, texImage,
                            format, type, pixels, unpack);
-- 
1.7.10.4



More information about the mesa-dev mailing list