|
@@ -50,7 +50,7 @@ static const Uint32 SDL_WINDOW_VULKAN = 0x10000000;
|
|
static SDL_Window* g_Window = NULL;
|
|
static SDL_Window* g_Window = NULL;
|
|
static Uint64 g_Time = 0;
|
|
static Uint64 g_Time = 0;
|
|
static bool g_MousePressed[3] = { false, false, false };
|
|
static bool g_MousePressed[3] = { false, false, false };
|
|
-static SDL_Cursor* g_MouseCursors[ImGuiMouseCursor_Count_] = { 0 };
|
|
|
|
|
|
+static SDL_Cursor* g_MouseCursors[ImGuiMouseCursor_COUNT] = { 0 };
|
|
static char* g_ClipboardTextData = NULL;
|
|
static char* g_ClipboardTextData = NULL;
|
|
|
|
|
|
static const char* ImGui_ImplSDL2_GetClipboardText(void*)
|
|
static const char* ImGui_ImplSDL2_GetClipboardText(void*)
|
|
@@ -193,7 +193,7 @@ void ImGui_ImplSDL2_Shutdown()
|
|
g_ClipboardTextData = NULL;
|
|
g_ClipboardTextData = NULL;
|
|
|
|
|
|
// Destroy SDL mouse cursors
|
|
// Destroy SDL mouse cursors
|
|
- for (ImGuiMouseCursor cursor_n = 0; cursor_n < ImGuiMouseCursor_Count_; cursor_n++)
|
|
|
|
|
|
+ for (ImGuiMouseCursor cursor_n = 0; cursor_n < ImGuiMouseCursor_COUNT; cursor_n++)
|
|
SDL_FreeCursor(g_MouseCursors[cursor_n]);
|
|
SDL_FreeCursor(g_MouseCursors[cursor_n]);
|
|
memset(g_MouseCursors, 0, sizeof(g_MouseCursors));
|
|
memset(g_MouseCursors, 0, sizeof(g_MouseCursors));
|
|
}
|
|
}
|