invisible
changeset 16:97dad98482f5
foo
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Wed, 06 Nov 2013 21:04:45 +0200 |
parents | 351dad433990 |
children | 136460b6c9af |
files | src/main.cc |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/src/main.cc Wed Nov 06 20:36:31 2013 +0200 1.2 +++ b/src/main.cc Wed Nov 06 21:04:45 2013 +0200 1.3 @@ -52,6 +52,10 @@ 1.4 atexit(cleanup); 1.5 1.6 glClearColor(1, 1, 1, 1); 1.7 +// glGenList 1.8 +// glNewList 1.9 +// glEndList 1.10 +// glCallList 1.11 1.12 frame = new Frame; 1.13 if(!(tex = load_texture(filename))) { 1.14 @@ -79,10 +83,10 @@ 1.15 1.16 glMatrixMode(GL_MODELVIEW); 1.17 glPushMatrix(); 1.18 - glTranslatef(0, 0, -10); 1.19 + glTranslatef(0, 0, -24); 1.20 glEnable(GL_TEXTURE_2D); 1.21 glBindTexture(GL_TEXTURE_2D, tex); 1.22 - draw_tess_quad(-10, -10, 20, 20, 600, 800); 1.23 + draw_tess_quad(-14, -10, 28, 20, 600, 800); 1.24 glPopMatrix(); 1.25 glMatrixMode(GL_MODELVIEW); 1.26