Browse files

images: fix aspect ratio

  • Loading branch information...
1 parent 0af16cc commit 7884985ef07fd710fb4a6a7c146ea32ca9f5b888 @sbourdeauducq sbourdeauducq committed Nov 23, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/renderer/raster.c
View
1 src/renderer/raster.c
@@ -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;

0 comments on commit 7884985

Please sign in to comment.