From 771f97ca4afbc89f00d9aca7633fe119c40aa18e Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Tue, 6 Dec 2005 15:13:23 +0000 Subject: [PATCH] Disabled textures during print info --- src/meshlab/glarea.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/meshlab/glarea.cpp b/src/meshlab/glarea.cpp index 7c283a3f1..911dc47e6 100644 --- a/src/meshlab/glarea.cpp +++ b/src/meshlab/glarea.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.51 2005/12/06 15:13:23 glvertex +Disabled textures during print info + Revision 1.50 2005/12/06 10:42:03 vannini Snapshot dialog now works @@ -373,7 +376,7 @@ void GLArea::paintGL() GLint old_matrixMode; lastTime=time.elapsed(); initTexture(); - glDisable(GL_TEXTURE_2D); // FIX FIX FIX to move in trimesh.h + glDisable(GL_TEXTURE_2D); // FIX FIX FIX to move in trimesh.h ? glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); @@ -463,6 +466,7 @@ void GLArea::paintGL() glPushMatrix(); glLoadIdentity(); + glDisable(GL_TEXTURE_2D); glDisable(GL_LIGHTING); glDisable(GL_DEPTH_TEST); glEnable(GL_BLEND);