mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Fix compilation error on Linux.
This commit is contained in:
parent
844268f7a3
commit
56c7ca9092
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue