invisible

changeset 15:351dad433990

quick backup
author Eleni Maria Stea <eleni@mutantstargoat.com>
date Wed, 06 Nov 2013 20:36:31 +0200
parents b6de02e21d82
children 97dad98482f5
files src/main.cc
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/main.cc	Wed Nov 06 01:08:50 2013 +0200
     1.2 +++ b/src/main.cc	Wed Nov 06 20:36:31 2013 +0200
     1.3 @@ -77,9 +77,14 @@
     1.4  	}
     1.5  	frame->process();
     1.6  
     1.7 +	glMatrixMode(GL_MODELVIEW);
     1.8 +	glPushMatrix();
     1.9 +	glTranslatef(0, 0, -10);
    1.10  	glEnable(GL_TEXTURE_2D);
    1.11  	glBindTexture(GL_TEXTURE_2D, tex);
    1.12 -	draw_tess_quad(-1, -1, 2, 2, 1, 1, true);
    1.13 +	draw_tess_quad(-10, -10, 20, 20, 600, 800);
    1.14 +	glPopMatrix();
    1.15 +	glMatrixMode(GL_MODELVIEW);
    1.16  
    1.17  	if(show) {
    1.18  		glBindTexture(GL_TEXTURE_2D, frame->video_tex);