mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
changes
This commit is contained in:
parent
aa35052a15
commit
f8492dc06b
18 changed files with 410 additions and 361 deletions
|
|
@ -592,7 +592,7 @@ internal sealed partial class FontAtlasFactory
|
|||
}
|
||||
else if (texture.TexPixelsRGBA32 is not null)
|
||||
{
|
||||
var wrap = this.factory.TextureManager.GetFromRaw(
|
||||
var wrap = this.factory.TextureManager.CreateFromRaw(
|
||||
RawImageSpecification.Rgba32(width, height),
|
||||
new(texture.TexPixelsRGBA32, width * height * 4));
|
||||
this.data.AddExistingTexture(wrap);
|
||||
|
|
@ -632,7 +632,7 @@ internal sealed partial class FontAtlasFactory
|
|||
}
|
||||
}
|
||||
|
||||
var wrap = this.factory.TextureManager.GetFromRaw(
|
||||
var wrap = this.factory.TextureManager.CreateFromRaw(
|
||||
new(
|
||||
width,
|
||||
height,
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ internal sealed partial class FontAtlasFactory
|
|||
}
|
||||
|
||||
return this.scopedFinalizer.Add(
|
||||
this.TextureManager.GetFromRaw(
|
||||
this.TextureManager.CreateFromRaw(
|
||||
new(
|
||||
texFile.Header.Width,
|
||||
texFile.Header.Height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue