diff --git a/Graphics/Draw.cpp b/Graphics/Draw.cpp index de6abda2efe66b72f938ebfdc0eb290309b418b3..7dd263ace5194938761475115b343dab74b27097 100644 --- a/Graphics/Draw.cpp +++ b/Graphics/Draw.cpp @@ -1,4 +1,4 @@ -/* $Id: Draw.cpp,v 1.8 2000-12-05 16:59:11 remacle Exp $ */ +/* $Id: Draw.cpp,v 1.9 2000-12-05 23:01:06 geuzaine Exp $ */ #include "Gmsh.h" #include "GmshUI.h" @@ -203,8 +203,8 @@ void InitShading(void){ glEnable(GL_NORMALIZE); for(i = 0 ; i < 6 ; i++){ if(CTX.light[i]){ - glLightfv(GL_LIGHT0 + i, GL_POSITION, CTX.light_position[i]); - glEnable(GL_LIGHT0 + i ); + glLightfv((GLenum)(GL_LIGHT0 + i), GL_POSITION, CTX.light_position[i]); + glEnable((GLenum)(GL_LIGHT0 + i)); } } diff --git a/Graphics/Mesh.cpp b/Graphics/Mesh.cpp index 22867a02754eb30515d40492f1dc418e190da22f..3546e0ce3e1fb986d7f6a555d933fe003444a0d8 100644 --- a/Graphics/Mesh.cpp +++ b/Graphics/Mesh.cpp @@ -1,4 +1,4 @@ -/* $Id: Mesh.cpp,v 1.10 2000-12-04 09:51:51 geuzaine Exp $ */ +/* $Id: Mesh.cpp,v 1.11 2000-12-05 23:01:06 geuzaine Exp $ */ #include "Gmsh.h" #include "GmshUI.h" @@ -61,7 +61,7 @@ void Draw_Mesh (Mesh *M) { for(i = 0 ; i < 6 ; i++) if(CTX.clip[i]) - glClipPlane(GL_CLIP_PLANE0 + i, CTX.clip_plane[i]); + glClipPlane((GLenum)(GL_CLIP_PLANE0 + i), CTX.clip_plane[i]); glPointSize(2); glLineWidth(1); diff --git a/Unix/Main.cpp b/Unix/Main.cpp index 8a90b7deccf2d60ab54810000396490b972d6fd3..41ac30f0db7dffdff7f89916335b73ee1b68d53a 100644 --- a/Unix/Main.cpp +++ b/Unix/Main.cpp @@ -1,4 +1,4 @@ -/* $Id: Main.cpp,v 1.19 2000-12-05 19:38:25 geuzaine Exp $ */ +/* $Id: Main.cpp,v 1.20 2000-12-05 23:01:06 geuzaine Exp $ */ #include <signal.h> @@ -62,7 +62,7 @@ char gmsh_help[] = " -nodb disable double buffering\n" " -noov disable overlay visual\n" " -alpha enable alpha blending\n" - " -notrack use old interactive rotation mode\n" + " -notrack don't use trackball mode for rotations\n" " -geometry geom specify main window geometry\n" " -viewport 9*float specify rotation, translation and scale\n" " -display disp specify display\n"