Salome HOME
updated copyright message
[modules/gui.git] / src / GLViewer / GLViewer_Tools.cxx
index 6a24ae76eaf35aac6fa31557ab7d93167ebd234b..247497528cd667665dbbb3822d62e340350e6b1a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 //
 #include "GLViewer_Tools.h"
 
+#ifdef __APPLE__
+#include <OpenGL/gl.h>
+#else
 #include <GL/gl.h>
+#endif
 
 #include <iostream>
 #include <string.h>
@@ -510,7 +514,7 @@ GLViewer_LineField::~GLViewer_LineField()
 /*!
   Adds line
 */
-void GLViewer_LineField::addLine( FieldDim theDim, GLViewer_LineList* )
+void GLViewer_LineField::addLine( FieldDim, GLViewer_LineList* )
 {
   //not implemented
 }