Commit 003b77d
committed
Fix blend render returning empty result
libass may return empty images, and 'blendResult' may become invalid (with zero
height), leading to a runtime error when displaying, being unable to create an
image with zero or invalid size.
Noticed on 'Railgun S Karaoke Test' ~26.38s (after the first verse) with
`dropAllAnimations` enabled.1 parent 37ae5bc commit 003b77d
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
258 | | - | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
260 | 267 | | |
261 | 268 | | |
262 | 269 | | |
| |||
0 commit comments