mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
Merge remote-tracking branch 'upstream/master' into imguiscene-inside
This commit is contained in:
commit
3c4b9f96ff
83 changed files with 6304 additions and 871 deletions
|
|
@ -496,7 +496,7 @@ internal sealed partial class FontAtlasFactory
|
|||
$"{nameof(FontAtlasAutoRebuildMode.Async)}.");
|
||||
}
|
||||
|
||||
var tcs = new TaskCompletionSource<FontAtlasBuiltData>();
|
||||
var tcs = new TaskCompletionSource<FontAtlasBuiltData>(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
try
|
||||
{
|
||||
var rebuildIndex = Interlocked.Increment(ref this.buildIndex);
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ internal abstract class FontHandle : IFontHandle
|
|||
if (this.Available)
|
||||
return Task.FromResult<IFontHandle>(this);
|
||||
|
||||
var tcs = new TaskCompletionSource<IFontHandle>();
|
||||
var tcs = new TaskCompletionSource<IFontHandle>(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
this.ImFontChanged += OnImFontChanged;
|
||||
this.Disposed += OnDisposed;
|
||||
if (this.Available)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue