Fix compilation error on Linux.

This commit is contained in:
Skyth 2024-12-20 01:52:40 +03:00
parent 844268f7a3
commit 56c7ca9092
2 changed files with 1 additions and 2 deletions

View file

@ -210,7 +210,6 @@ static std::unique_ptr<RenderCommandFence> g_copyCommandFence;
static std::unique_ptr<RenderSwapChain> g_swapChain; static std::unique_ptr<RenderSwapChain> g_swapChain;
static bool g_swapChainValid; static bool g_swapChainValid;
static bool g_needsResize;
static constexpr RenderFormat BACKBUFFER_FORMAT = RenderFormat::B8G8R8A8_UNORM; static constexpr RenderFormat BACKBUFFER_FORMAT = RenderFormat::B8G8R8A8_UNORM;

View file

@ -396,7 +396,7 @@ enum GuestTextureAddress
D3DTADDRESS_BORDER = 6 D3DTADDRESS_BORDER = 6
}; };
extern bool g_needsResize; inline bool g_needsResize;
extern std::unique_ptr<GuestTexture> LoadTexture(const uint8_t* data, size_t dataSize, RenderComponentMapping componentMapping = RenderComponentMapping()); extern std::unique_ptr<GuestTexture> LoadTexture(const uint8_t* data, size_t dataSize, RenderComponentMapping componentMapping = RenderComponentMapping());