deepstone

changeset 12:c29a6e024950

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Nov 2011 05:03:22 +0200
parents 0909996838ff 059bb38506b3
children 7b574ba5758e
files
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/scantmpl.h	Mon Nov 28 05:02:08 2011 +0200
     1.2 +++ b/src/scantmpl.h	Mon Nov 28 05:03:22 2011 +0200
     1.3 @@ -233,7 +233,7 @@
     1.4  		int c = cidx;
     1.5  
     1.6  #ifdef INTERP_DEPTH
     1.7 -		int pix = (sline + x0 + i) - fb->pixels;
     1.8 +		long pix = (sline + x0 + i) - fb->pixels;
     1.9  		unsigned short zval = (unsigned short)(z * USHRT_MAX);
    1.10  		unsigned short *zptr = fb->zbuf[ZTILE(pix)] + ZTILE_OFFS(pix);
    1.11  
     2.1 --- a/src/test.c	Mon Nov 28 05:02:08 2011 +0200
     2.2 +++ b/src/test.c	Mon Nov 28 05:03:22 2011 +0200
     2.3 @@ -114,6 +114,8 @@
     2.4  	signal(SIGILL, sighandler);
     2.5  	signal(SIGABRT, sighandler);
     2.6  
     2.7 +	have_mouse();
     2.8 +
     2.9  
    2.10  	if(mgl_init(320, 200) == -1) {
    2.11  		fprintf(stderr, "mgl init failed\n");