mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-06 03:18:21 +00:00
@@ -118,9 +118,7 @@
|
|||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
#include <emscripten/em_js.h>
|
#include <emscripten/em_js.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef Status // X11 headers
|
#undef Status // X11 headers are leaking this.
|
||||||
#undef Status
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if SDL_VERSION_ATLEAST(2,0,4) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !(defined(__APPLE__) && TARGET_OS_IOS) && !defined(__amigaos4__)
|
#if SDL_VERSION_ATLEAST(2,0,4) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !(defined(__APPLE__) && TARGET_OS_IOS) && !defined(__amigaos4__)
|
||||||
#define SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 1
|
#define SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 1
|
||||||
|
@@ -97,6 +97,7 @@
|
|||||||
#ifndef IM_MAX
|
#ifndef IM_MAX
|
||||||
#define IM_MAX(A, B) (((A) >= (B)) ? (A) : (B))
|
#define IM_MAX(A, B) (((A) >= (B)) ? (A) : (B))
|
||||||
#endif
|
#endif
|
||||||
|
#undef Status // X11 headers are leaking this.
|
||||||
|
|
||||||
// Visual Studio warnings
|
// Visual Studio warnings
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
2
imgui.h
2
imgui.h
@@ -3385,6 +3385,8 @@ struct ImDrawData
|
|||||||
// FOR ALL OTHER ImTextureXXXX TYPES: ONLY CORE LIBRARY AND RENDERER BACKENDS NEED TO KNOW AND CARE ABOUT THEM.
|
// FOR ALL OTHER ImTextureXXXX TYPES: ONLY CORE LIBRARY AND RENDERER BACKENDS NEED TO KNOW AND CARE ABOUT THEM.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#undef Status // X11 headers are leaking this.
|
||||||
|
|
||||||
// We intentionally support a limited amount of texture formats to limit burden on CPU-side code and extension.
|
// We intentionally support a limited amount of texture formats to limit burden on CPU-side code and extension.
|
||||||
// Most standard backends only support RGBA32 but we provide a single channel option for low-resource/embedded systems.
|
// Most standard backends only support RGBA32 but we provide a single channel option for low-resource/embedded systems.
|
||||||
enum ImTextureFormat
|
enum ImTextureFormat
|
||||||
|
Reference in New Issue
Block a user