[X] I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
[X] This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
My app imports fyne packages for visual gui. It is pretty working on windows and ubuntu 22 platforms. Then i tried to run on virtual macos . it is starts with go run main.go but when i trying to open gui window appears some errors of glfw:
GLFW: An invalid error was not accepted by the caller: FormatUnavailable: NSGL: Failed to find a suitable pixel format
GLFW: Please report this bug in the Go package immediately.
panic: FormatUnavailable: NSGL: Failed to find a suitable pixel format
goroutine 1 [running, locked to thread]:
github.com/go-gl/glfw/v3.3/glfw.acceptError({0xc00060fc10, 0x2, 0x100bbd320?})
github.com/go-gl/glfw/v3.3/glfw/error.go:178
Same errors appears when i run fyne_demo.
How to reproduce
Run some virtual macos
Run your fyne gui app
open any fyne window in app
error appears
Can you be more specific about what "virtual macOS" is?
If you are talking about running macOS in a virtual machine you'll need to turn on the graphics driver/OpenGL option.
Checklist
Describe the bug
My app imports fyne packages for visual gui. It is pretty working on windows and ubuntu 22 platforms. Then i tried to run on virtual macos . it is starts with go run main.go but when i trying to open gui window appears some errors of glfw: GLFW: An invalid error was not accepted by the caller: FormatUnavailable: NSGL: Failed to find a suitable pixel format GLFW: Please report this bug in the Go package immediately. panic: FormatUnavailable: NSGL: Failed to find a suitable pixel format
goroutine 1 [running, locked to thread]: github.com/go-gl/glfw/v3.3/glfw.acceptError({0xc00060fc10, 0x2, 0x100bbd320?}) github.com/go-gl/glfw/v3.3/glfw/error.go:178 Same errors appears when i run fyne_demo.
How to reproduce
Run some virtual macos Run your fyne gui app open any fyne window in app error appears
Screenshots
No response
Example code
App.run ()
Fyne version
2.3
Go compiler version
1.19
Operating system
macOS
Operating system version
ProductName: macOS ProductVersion: 11.1 BuildVersion: 20C69
Additional Information
No response