Qingtian

Results 166 comments of Qingtian

Doesn't crash here. @hiiamboris Maybe no enough GPU resource was not currently available no your system. We should throw an error in this case instead of crash.

@hiiamboris Can you check the [`hr` value](https://github.com/red/red/blob/master/modules/view/backends/windows/direct2d.reds#L1903) before the assertion?

If the error happened only when BASE is big, then maybe the big BASE corrupted internal memory or CreateSwapChainForHwnd cannot handle big BASE on some systems. `view/options [base 11000x11000] [offset:...

> > `view/options [base 40000x40000] [offset: 10x10]` crashes on my system. > > Nice, so you can debug it probably ;) I think it's a limitation in Direct2D. What we...

No crashes anymore, but it froze my win10 after playing it a while. 😓

What's the expected behavior when running the following command? ``` $ ./console

I propose to use ARGB in all places. So we need to do the following change: 1. 4-tuple value means ARGB instead of RGBA. 2. rename function `as-rgba` to `as-argb`.

0.6.4 stable also has this issue. Seems the native stack was mess up after the `throw 1`.

@hiiamboris Pushed a fix. Let me know if it still throws error or crashes.