istereo

diff src/istereo.c @ 0:1bb950d0976b

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 06 Sep 2011 08:07:14 +0300
parents
children 4d25539806d2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/istereo.c	Tue Sep 06 08:07:14 2011 +0300
     1.3 @@ -0,0 +1,17 @@
     1.4 +#include <OpenGLES/ES2/gl.h>
     1.5 +#include "istereo.h"
     1.6 +
     1.7 +int init(void)
     1.8 +{
     1.9 +	return 0;
    1.10 +}
    1.11 +
    1.12 +void cleanup(void)
    1.13 +{
    1.14 +}
    1.15 +
    1.16 +void redraw(void)
    1.17 +{
    1.18 +	glClearColor(0, 1, 0, 1);
    1.19 +	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    1.20 +}