diff --git a/wrap/gl/trimesh.h b/wrap/gl/trimesh.h index 64fc9db2..f9811cc8 100644 --- a/wrap/gl/trimesh.h +++ b/wrap/gl/trimesh.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.11 2005/10/12 18:24:30 ponchio +another bunch of typenames. + Revision 1.10 2005/10/12 17:19:03 ponchio Added gazillions typenames, commented out old broken functions, added unsigned int TextureMapID[128], and unsigned int & TMId(int i). @@ -522,7 +525,9 @@ void DrawFlatWire() DrawFill(); glDepthRange(0.0f,1.0f-ZTWIST); glPushAttrib(GL_CURRENT_BIT); - glColor3f(.3f,.3f,.3f); + glEnable(GL_COLOR_MATERIAL); + glColorMaterial(GL_FRONT,GL_DIFFUSE); + glColor3f(.3f,.3f,.3f); DrawWire(); glPopAttrib(); glDepthRange(0,1.0f);