mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 08:20:32 +00:00
Fix compilation error on UE 5.1
This commit is contained in:
parent
9496087f9c
commit
cff6ff6f66
@ -6,7 +6,10 @@
|
|||||||
|
|
||||||
// For convenience and easy access to the ImGui source code, we build it as part of this module.
|
// For convenience and easy access to the ImGui source code, we build it as part of this module.
|
||||||
// We don't need to define IMGUI_API manually because it is already done for this module.
|
// We don't need to define IMGUI_API manually because it is already done for this module.
|
||||||
|
// UE 5.1 stopped defining PLATFORM_XBOXONE, so be safe if not defined
|
||||||
|
#if !defined(PLATFORM_XBOXONE)
|
||||||
|
#define PLATFORM_XBOXONE 0
|
||||||
|
#endif
|
||||||
#if PLATFORM_XBOXONE
|
#if PLATFORM_XBOXONE
|
||||||
// Disable Win32 functions used in ImGui and not supported on XBox.
|
// Disable Win32 functions used in ImGui and not supported on XBox.
|
||||||
#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS
|
#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user