Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

images: fix aspect ratio

  • Loading branch information...
commit 7884985ef07fd710fb4a6a7c146ea32ca9f5b888 1 parent 0af16cc
Sébastien Bourdeauducq authored November 24, 2011

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  src/renderer/raster.c
1  src/renderer/raster.c
@@ -511,6 +511,7 @@ static void images(unsigned short *tex_backbuffer, struct frame_descriptor *frd,
511 511
 			dy = ftexsize*frd->image_y[i];
512 512
 			sx = ((float)frd->images[i]->width)*frd->image_zoom[i];
513 513
 			sy = ((float)frd->images[i]->height)*frd->image_zoom[i];
  514
+			sy = sy*4/3;
514 515
 			
515 516
 			scale_vertices[0].x = 0;
516 517
 			scale_vertices[0].y = 0;

0 notes on commit 7884985

Please sign in to comment.
Something went wrong with that request. Please try again.