summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-23 14:44:09 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-23 14:44:09 +0800
commitdce62509e5d3f7fb8c5890fac51ec2d218c15960 (patch)
tree3b40f3d47c197379d896b2cb64807714d976a30a
parent25e6736400f3667b3c0c879fc1dc1bf92f5ef44e (diff)
mesa: Pixel zoom should be ignored in _mesa_meta_draw_tex.
-rw-r--r--src/mesa/drivers/common/meta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 737ffd36bd..896e258712 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -2109,8 +2109,8 @@ _mesa_meta_draw_tex(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z,
/* vertex positions, texcoords */
{
- const GLfloat x1 = x + width * ctx->Pixel.ZoomX;
- const GLfloat y1 = y + height * ctx->Pixel.ZoomY;
+ const GLfloat x1 = x + width;
+ const GLfloat y1 = y + height;
verts[0].x = x;
verts[0].y = y;