Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

images: fix aspect ratio

  • Loading branch information...
commit 7884985ef07fd710fb4a6a7c146ea32ca9f5b888 1 parent 0af16cc
Sébastien Bourdeauducq sbourdeauducq authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/renderer/raster.c
1  src/renderer/raster.c
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.