progrium / darwinkit

Native Mac APIs for Go. Previously known as MacDriver
MIT License
4.99k stars 158 forks source link

darwinkit: fix opengl example #172

Closed progrium closed 3 months ago

progrium commented 1 year ago

After porting to DarwinKit, on macOS 12 I got it to run, but it didn't render. Others on other versions reported a panic. Not sure about the panic, but at least for not rendering it probably has to do with the method call to tell the view to redraw. This method is deprecated, but I imagine should still work?

@firelizzard18 as original author, you have thoughts?

firelizzard18 commented 1 year ago

Unfortunately no, it's been almost two years since I looked at the project that uses this and dealing with graphics frameworks was never something I was fluent with.