Skip to content

OpenGL is deprecated in MacOS 10.14 #53

@mslinklater

Description

@mslinklater

When building on MacOS we get a lot of warnings about OpenGL being deprecated, which it is since 10.14. This is coming from ImGuiTexture_GLFW.cpp. We need to move to a supported ImGUI support layer on MacOS before we are no longer able to build.

[build] ..../8BitAnalysers/Source/Shared/ImGuiSupport/GLFW/ImGuiTexture_GLFW.cpp:13:2: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] [build] glGetIntegerv(GL_TEXTURE_BINDING_2D, &lastTexture); [build] ^ [build] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here

Metadata

Metadata

Assignees

Labels

MacOSMacOS platform

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions