static void
draw_textured_quad(GLcontext *ctx, GLint x, GLint y, GLfloat z,
GLsizei width, GLsizei height,
+ GLfloat zoomX, GLfloat zoomY,
struct pipe_mipmap_tree *mt,
struct st_vertex_program *stvp,
struct st_fragment_program *stfp,
= make_mipmap_tree(ctx->st, width, height, format, type,
unpack, pixels);
draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2],
- width, height, mt, stvp, stfp, NULL);
+ width, height, ctx->Pixel.ZoomX, ctx->Pixel.ZoomY,
+ mt, stvp, stfp, NULL);
free_mipmap_tree(st->pipe, mt);
}
else {
mt = create_bitmap_texture(ctx, width, height, unpack, bitmap);
draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2],
- width, height, mt, stvp, stfp,
+ width, height, 1.0, 1.0,
+ mt, stvp, stfp,
ctx->Current.RasterColor);
free_mipmap_tree(st->pipe, mt);