EngoEngine / engo

Engo is an open-source 2D game engine written in Go.
https://engoengine.github.io
MIT License
1.74k stars 137 forks source link

'NSOpenGLContext' is deprecated #686

Open daemonchen opened 4 years ago

daemonchen commented 4 years ago

when I install with go get -u github.com/EngoEngine/engo, got the warning like this:

warning: 'NSOpenGLContext' is deprecated: first deprecated in macOS 10.14 - Please use Metal or MetalKit
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:202:12: note: 'NSOpenGLContext' has been explicitly marked deprecated here
Noofbiz commented 4 years ago

Yeah, macOS is removing OpenGL sometime in the future. I'm actually working on moving the render system to Vulkan/Metal here. Once that's up and running, I'm going to put it into common as the normal render system but with the build tag "vulkan" that you can use to build without OpenGL at all. I'll keep this issue open to track the progress on this, since I can't seem to find a similar issue ^_^