Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated warning on demo #61

Closed
krostar opened this issue Jan 4, 2019 · 5 comments
Closed

Deprecated warning on demo #61

krostar opened this issue Jan 4, 2019 · 5 comments

Comments

@krostar
Copy link

krostar commented Jan 4, 2019

Hi,

When I go run the demo, I'm getting the following message:

$> go run .
# fyne.io/fyne/driver/gl
../../driver/gl/gl_darwinfix.go:10:5: warning: 'NSOpenGLContext' is deprecated: first deprecated in macOS 10.14 - Please use Metal or MetalKit. [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:202:12: note: 'NSOpenGLContext' has been explicitly marked deprecated here

The app is launching without any problems though.
I don't really know what information to add, let me know if you need more info.

krostar

@andydotxyz
Copy link
Member

Yes, sorry, macOS Mojave has deprecated OpenGL.
To make this go away we will have to add a MetalKit driver for darwin :(

@LucasMW
Copy link

LucasMW commented Mar 25, 2019

So it was addressed

@andydotxyz
Copy link
Member

Unfortunately not - but the deprecation warning does not impact the framework at this time so we closed it. It is technically blocked on #183

@cnbuff410
Copy link

Is this warning going away with the potential release 3.3 of GLFW?

@andydotxyz
Copy link
Member

It should do, yes. We need to work with the Go-gl/glfw project to get the Go bindings released before we can see that benefit. Tracking in #183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants