comex
comex
The trouble with that intrinsic is that `unordered` is weaker than `monotonic` aka `Relaxed`, and it can't easily be upgraded. There's no "relaxed fence" if the ordering you want is...
So to be clear, `&mut pinned_struct.field` would have type `Pin`? That's a bit weird, though I can't think of a better option.
I don't agree that it makes sense to punt fallible allocator support. After all, we surely want to support them eventually. Any design that supports fallible allocators can almost certainly...
Yes, I have multicore enabled.
Oh, and it also freezes the UI when paused in the debugger, because that waits on a semaphore (condition variable in my branch). Sigh… I really should try the other...
Going back to this – unfortunately, I don't think rendering off the main thread is feasible with SDL video (i.e. without the vidext). In [this Stack Overflow post](https://stackoverflow.com/questions/6172020/opengl-rendering-in-a-secondary-thread), a poster...
Oops, typo - I had `real_height = int(width * ratio)`. After fixing that, resizing is still rather broken on my system, but that happens with or without this patch. Sigh...
Thanks for the response. [Qt documentation for "High DPI Displays"](http://doc.qt.io/qt-5/highdpi.html) As far as I can tell from there, scaling is only enabled by default on macOS, although it can be...
Bump - this is indeed broken; it only passes the test because the test is in C++, which has different reference semantics.
For the record, this can be fixed without reintroducing the previous issue by going through a pointer: #define kv_a(type, v, i) (*(..., &(v).a[(i)]))