istereo2

diff src/istereo.c @ 13:ea928c313344

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Sep 2015 19:04:50 +0300
parents 661bf09db398
children 7bd4264bf74a
line diff
     1.1 --- a/src/istereo.c	Mon Sep 28 06:53:31 2015 +0300
     1.2 +++ b/src/istereo.c	Mon Sep 28 19:04:50 2015 +0300
     1.3 @@ -47,6 +47,7 @@
     1.4  struct dtx_font *font;
     1.5  
     1.6  int view_xsz, view_ysz;
     1.7 +float view_aspect;
     1.8  
     1.9  int stereo = 0;
    1.10  int use_bump = 0;
    1.11 @@ -408,6 +409,7 @@
    1.12  
    1.13  	view_xsz = x;
    1.14  	view_ysz = y;
    1.15 +	view_aspect = aspect;
    1.16  
    1.17  	ui_reshape(x, y);
    1.18  }