Skip to content

Use of OpenGL deprecated api #1040

@BishopWolf

Description

@BishopWolf

I the CI builds I have detected the use of deprecated OpenGL API

/Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:84:3: warning: 'glPushAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     84 |   glPushAttrib(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2623:13: note: 'glPushAttrib' has been explicitly marked deprecated here
   2623 | extern void glPushAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:85:3: warning: 'glPolygonMode' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     85 |   glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2615:13: note: 'glPolygonMode' has been explicitly marked deprecated here
   2615 | extern void glPolygonMode (GLenum face, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:88:3: warning: 'glGetFloatv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     88 |   glGetFloatv(GL_CURRENT_COLOR, color);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2509:13: note: 'glGetFloatv' has been explicitly marked deprecated here
   2509 | extern void glGetFloatv (GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:90:3: warning: 'glColor3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     90 |   glColor3f(1.f, 1.0f, 1.0f);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2405:13: note: 'glColor3f' has been explicitly marked deprecated here
   2405 | extern void glColor3f (GLfloat red, GLfloat green, GLfloat blue) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:92:3: warning: 'glEnable' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     92 |   glEnable(GL_TEXTURE_2D);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2472:13: note: 'glEnable' has been explicitly marked deprecated here
   2472 | extern void glEnable (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:94:3: warning: 'glBindTexture' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     94 |   glBindTexture(GL_TEXTURE_2D, texture_xy);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2386:13: note: 'glBindTexture' has been explicitly marked deprecated here
   2386 | extern void glBindTexture (GLenum target, GLuint texture) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:95:3: warning: 'glBegin' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     95 |   glBegin(GL_QUADS);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2385:13: note: 'glBegin' has been explicitly marked deprecated here
   2385 | extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:96:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     96 |   glTexCoord2d(0, 0);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:97:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     97 |   glVertex3f(-xHalfLength, -yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:98:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     98 |   glTexCoord2d(0, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:99:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
     99 |   glVertex3f(-xHalfLength, yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:100:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    100 |   glTexCoord2d(1, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:101:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    101 |   glVertex3f(xHalfLength, yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:102:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    102 |   glTexCoord2d(1, 0);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:103:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    103 |   glVertex3f(xHalfLength, -yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:104:3: warning: 'glEnd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    104 |   glEnd();
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2474:13: note: 'glEnd' has been explicitly marked deprecated here
   2474 | extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:106:3: warning: 'glBindTexture' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    106 |   glBindTexture(GL_TEXTURE_2D, texture_yz);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2386:13: note: 'glBindTexture' has been explicitly marked deprecated here
   2386 | extern void glBindTexture (GLenum target, GLuint texture) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:107:3: warning: 'glBegin' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    107 |   glBegin(GL_QUADS);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2385:13: note: 'glBegin' has been explicitly marked deprecated here
   2385 | extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:108:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    108 |   glTexCoord2d(0, 0);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:109:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    109 |   glVertex3f(x, -yHalfLength, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:110:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    110 |   glTexCoord2d(1, 0);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:111:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    111 |   glVertex3f(x, yHalfLength, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:112:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
  [ 52%] Building CXX object CMakeFiles/opengate_core.dir/opengate_core/opengate_lib/GateKillAccordingProcessesActor.cpp.o
    112 |   glTexCoord2d(1, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:113:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    113 |   glVertex3f(x, yHalfLength, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:114:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    114 |   glTexCoord2d(0, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:115:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    115 |   glVertex3f(x, -yHalfLength, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:116:3: warning: 'glEnd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    116 |   glEnd();
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2474:13: note: 'glEnd' has been explicitly marked deprecated here
   2474 | extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:118:3: warning: 'glBindTexture' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    118 |   glBindTexture(GL_TEXTURE_2D, texture_xz);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2386:13: note: 'glBindTexture' has been explicitly marked deprecated here
   2386 | extern void glBindTexture (GLenum target, GLuint texture) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:119:3: warning: 'glBegin' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    119 |   glBegin(GL_QUADS);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2385:13: note: 'glBegin' has been explicitly marked deprecated here
   2385 | extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:120:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    120 |   glTexCoord2d(0, 0);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:121:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    121 |   glVertex3f(-xHalfLength, y, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:122:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    122 |   glTexCoord2d(0, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:123:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    123 |   glVertex3f(-xHalfLength, y, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:124:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    124 |   glTexCoord2d(1, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:125:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    125 |   glVertex3f(xHalfLength, y, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:126:3: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    126 |   glTexCoord2d(1, 0);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here
  [ 53%] Building CXX object CMakeFiles/opengate_core.dir/opengate_core/opengate_lib/GateKillActor.cpp.o
   2683 | extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:127:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    127 |   glVertex3f(xHalfLength, y, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:128:3: warning: 'glEnd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    128 |   glEnd();
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2474:13: note: 'glEnd' has been explicitly marked deprecated here
   2474 | extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:130:3: warning: 'glDisable' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    130 |   glDisable(GL_TEXTURE_2D);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2462:13: note: 'glDisable' has been explicitly marked deprecated here
   2462 | extern void glDisable (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:132:3: warning: 'glColor3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    132 |   glColor3f(0.5f, 0.5f, 0.5f);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2405:13: note: 'glColor3f' has been explicitly marked deprecated here
   2405 | extern void glColor3f (GLfloat red, GLfloat green, GLfloat blue) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:133:3: warning: 'glBegin' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    133 |   glBegin(GL_LINE_LOOP);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2385:13: note: 'glBegin' has been explicitly marked deprecated here
   2385 | extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:134:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    134 |   glVertex3f(-xHalfLength, -yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:135:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    135 |   glVertex3f(-xHalfLength, yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:136:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    136 |   glVertex3f(xHalfLength, yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:137:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    137 |   glVertex3f(xHalfLength, -yHalfLength, z);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:138:3: warning: 'glEnd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    138 |   glEnd();
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2474:13: note: 'glEnd' has been explicitly marked deprecated here
   2474 | extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:140:3: warning: 'glBegin' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    140 |   glBegin(GL_LINE_LOOP);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2385:13: note: 'glBegin' has been explicitly marked deprecated here
   2385 | extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:141:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    141 |   glVertex3f(x, -yHalfLength, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:142:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    142 |   glVertex3f(x, yHalfLength, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:143:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    143 |   glVertex3f(x, yHalfLength, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:144:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    144 |   glVertex3f(x, -yHalfLength, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:145:3: warning: 'glEnd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    145 |   glEnd();
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2474:13: note: 'glEnd' has been explicitly marked deprecated here
   2474 | extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:147:3: warning: 'glBegin' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    147 |   glBegin(GL_LINE_LOOP);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2385:13: note: 'glBegin' has been explicitly marked deprecated here
   2385 | extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:148:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    148 |   glVertex3f(-xHalfLength, y, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:149:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    149 |   glVertex3f(-xHalfLength, y, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:150:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    150 |   glVertex3f(xHalfLength, y, zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:151:3: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    151 |   glVertex3f(xHalfLength, y, -zHalfLength);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here
   2740 | extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:152:3: warning: 'glEnd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    152 |   glEnd();
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2474:13: note: 'glEnd' has been explicitly marked deprecated here
   2474 | extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:154:3: warning: 'glColor3fv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
  [ 53%] Building CXX object CMakeFiles/opengate_core.dir/opengate_core/opengate_lib/GateLETActor.cpp.o
    154 |   glColor3fv(color);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2406:13: note: 'glColor3fv' has been explicitly marked deprecated here
   2406 | extern void glColor3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:157:3: warning: 'glPopAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    157 |   glPopAttrib();
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2618:13: note: 'glPopAttrib' has been explicitly marked deprecated here
   2618 | extern void glPopAttrib (void) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:187:3: warning: 'glGenTextures' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    187 |   glGenTextures(1, &texture);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2498:13: note: 'glGenTextures' has been explicitly marked deprecated here
   2498 | extern void glGenTextures (GLsizei n, GLuint *textures) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:188:3: warning: 'glBindTexture' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    188 |   glBindTexture(GL_TEXTURE_2D, texture);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2386:13: note: 'glBindTexture' has been explicitly marked deprecated here
   2386 | extern void glBindTexture (GLenum target, GLuint texture) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:189:3: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    189 |   glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here
   2610 | extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:190:3: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    190 |   glPixelStorei(GL_PACK_ALIGNMENT, 1);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here
   2610 | extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:191:3: warning: 'glTexImage2D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    191 |   glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB,
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2719:13: note: 'glTexImage2D' has been explicitly marked deprecated here
   2719 | extern void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:193:3: warning: 'glTexParameterf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    193 |   glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2721:13: note: 'glTexParameterf' has been explicitly marked deprecated here
   2721 | extern void glTexParameterf (GLenum target, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  /Users/runner/work/opengate/opengate/core/opengate_core/opengate_lib/GateImageBox.cpp:194:3: warning: 'glTexParameterf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
    194 |   glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
        |   ^
  /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2721:13: note: 'glTexParameterf' has been explicitly marked deprecated here
   2721 | extern void glTexParameterf (GLenum target, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
        |             ^
  67 warnings generated.

This shall be rewritten to use the correct functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions