[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/draw/opengl pggloper.cpp,1.1.2.2,1.1.2.3
From: |
Teunis Peters <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/draw/opengl pggloper.cpp,1.1.2.2,1.1.2.3 |
Date: |
Thu, 31 Oct 2002 12:54:23 -0500 |
Update of /cvsroot/paragui/paragui/src/draw/opengl
In directory subversions:/tmp/cvs-serv14264/src/draw/opengl
Modified Files:
Tag: devel-opengl
pggloper.cpp
Log Message:
adding texture support
Index: pggloper.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/draw/opengl/Attic/pggloper.cpp,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** pggloper.cpp 31 Oct 2002 10:38:04 -0000 1.1.2.2
--- pggloper.cpp 31 Oct 2002 17:54:19 -0000 1.1.2.3
***************
*** 177,182 ****
void PG_GLDraw::gl_do_texture(int on) {
if (glstate.do_texture == on) return;
! /* if (on) glEnable(GL_TEXTURE_2D);
! else */ glDisable(GL_TEXTURE_2D);
glstate.do_texture = on;
}
--- 177,182 ----
void PG_GLDraw::gl_do_texture(int on) {
if (glstate.do_texture == on) return;
! if (on) glEnable(GL_TEXTURE_2D);
! else glDisable(GL_TEXTURE_2D);
glstate.do_texture = on;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/draw/opengl pggloper.cpp,1.1.2.2,1.1.2.3,
Teunis Peters <address@hidden> <=