istereo

diff src/sanegl.c @ 3:2c5620f0670c

trying to make this piece of crap work
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 07 Sep 2011 05:33:19 +0300
parents bb68fac22579
children 75a63f9ab7cc
line diff
     1.1 --- a/src/sanegl.c	Wed Sep 07 02:48:35 2011 +0300
     1.2 +++ b/src/sanegl.c	Wed Sep 07 05:33:19 2011 +0300
     1.3 @@ -17,6 +17,7 @@
     1.4  */
     1.5  
     1.6  #include <stdio.h>
     1.7 +#include <stdlib.h>
     1.8  #include <string.h>
     1.9  #include <math.h>
    1.10  #include <assert.h>
    1.11 @@ -418,7 +419,7 @@
    1.12  
    1.13  	if(buffer_full) {
    1.14  		gl_draw_immediate();
    1.15 -		glBegin(prim);	/* reset everything */
    1.16 +		gl_begin(prim);	/* reset everything */
    1.17  	}
    1.18  }
    1.19