Skip to content

Commit 7884985

Browse files
author
Sebastien Bourdeauducq
committedNov 23, 2011
images: fix aspect ratio
1 parent 0af16cc commit 7884985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎src/renderer/raster.c

+1
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ static void images(unsigned short *tex_backbuffer, struct frame_descriptor *frd,
511511
dy = ftexsize*frd->image_y[i];
512512
sx = ((float)frd->images[i]->width)*frd->image_zoom[i];
513513
sy = ((float)frd->images[i]->height)*frd->image_zoom[i];
514+
sy = sy*4/3;
514515

515516
scale_vertices[0].x = 0;
516517
scale_vertices[0].y = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.