Skip to content

Commit

Permalink
images: fix aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Nov 23, 2011
1 parent 0af16cc commit 7884985
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/raster.c
Expand Up @@ -511,6 +511,7 @@ static void images(unsigned short *tex_backbuffer, struct frame_descriptor *frd,
dy = ftexsize*frd->image_y[i];
sx = ((float)frd->images[i]->width)*frd->image_zoom[i];
sy = ((float)frd->images[i]->height)*frd->image_zoom[i];
sy = sy*4/3;

scale_vertices[0].x = 0;
scale_vertices[0].y = 0;
Expand Down

0 comments on commit 7884985

Please sign in to comment.