aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-05-11 17:40:10 +0200
committermarha <marha@users.sourceforge.net>2014-05-11 17:40:10 +0200
commitae06feae7876db47ff0e1fde40cf4a324a412037 (patch)
tree4d3879532d8c4c7488d70d02c686586d1a4d28fc /mesalib/src/mesa/main/teximage.c
parent683155917770af9e63a938bc450df25d1904d567 (diff)
downloadvcxsrv-ae06feae7876db47ff0e1fde40cf4a324a412037.tar.gz
vcxsrv-ae06feae7876db47ff0e1fde40cf4a324a412037.tar.bz2
vcxsrv-ae06feae7876db47ff0e1fde40cf4a324a412037.zip
mesa git update 11 May 2014
mesa commit 83b4ec03e77645c537d540a12253b3492bad4b59
Diffstat (limited to 'mesalib/src/mesa/main/teximage.c')
-rw-r--r--mesalib/src/mesa/main/teximage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/teximage.c b/mesalib/src/mesa/main/teximage.c
index c7f301cbd..845ba8014 100644
--- a/mesalib/src/mesa/main/teximage.c
+++ b/mesalib/src/mesa/main/teximage.c
@@ -3024,7 +3024,7 @@ _mesa_choose_texture_format(struct gl_context *ctx,
}
/* choose format from scratch */
- f = ctx->Driver.ChooseTextureFormat(ctx, texObj->Target, internalFormat,
+ f = ctx->Driver.ChooseTextureFormat(ctx, target, internalFormat,
format, type);
ASSERT(f != MESA_FORMAT_NONE);
return f;