mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Replace internal SharpDX usage with TerraFX
This commit is contained in:
parent
5bb212bfaa
commit
0112e17fdb
1 changed files with 1 additions and 2 deletions
|
|
@ -15,7 +15,6 @@ using Dalamud.Interface.Textures.TextureWraps;
|
|||
using Dalamud.Interface.Utility;
|
||||
using Dalamud.Storage.Assets;
|
||||
using Dalamud.Utility;
|
||||
using SharpDX.DXGI;
|
||||
using TerraFX.Interop.DirectX;
|
||||
|
||||
namespace Dalamud.Interface.ManagedFontAtlas.Internals;
|
||||
|
|
@ -749,7 +748,7 @@ internal sealed partial class FontAtlasFactory
|
|||
new(
|
||||
width,
|
||||
height,
|
||||
(int)(use4 ? Format.B4G4R4A4_UNorm : Format.B8G8R8A8_UNorm),
|
||||
(int)(use4 ? DXGI_FORMAT.DXGI_FORMAT_B4G4R4A4_UNORM : DXGI_FORMAT.DXGI_FORMAT_B8G8R8A8_UNORM),
|
||||
width * bpp),
|
||||
buf,
|
||||
name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue