Beoran
Beoran
Perhaps this should be documented as an implementation restriction? "A compiler may disallow return statements for which the order of evaluation cannot be determined due to side effects." Or something...
I wouldn't be surprised if this was the case, at least in USA law. Most licenses also work like this really... Why am I not surprised though? I see this...
Here again, the best solution would be to port one or more liberally licensed codecs from C to Go and use that. Like https://github.com/cisco/openh264. Of course this is a considerable...
Well, but it seems someone already did it for MPEG(1). While outdated, the patents are expired and the source is very liberally licensed: https://github.com/gen2brain/mpeg
Well, yes, it is not so commonly used anymore because the compression is less than for modern formats. But for cases where we can control the input or record the...
Now, the callbacks have been implemented, which was easier than I expected, since most code to do so was already in place. The documentation is there too, though it still...
Unfortunately it doesn't work because in GLFW the joystick is actively polled. I will probably have to add something to poll joysticks as well.
It now works fine on Linux, tested with tests/event. Please, could someone volunteer to test on other platforms as well?
Thanks for testing this. It would be great if you could also debug this to find the cause, otherwise this will have to wait until I can get a Windows...
Thanks for your efforts, I will add your modifications to my PR once everything works.