Examples: SDL3: updates for latest SDL3 API changes.

This commit is contained in:
ocornut
2024-05-15 14:18:48 +02:00
parent e45efa9951
commit 93daf23223
3 changed files with 11 additions and 2 deletions

View File

@@ -60,6 +60,14 @@
#define SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 0
#endif
// FIXME-LEGACY: remove when SDL 3.1.3 preview is released.
#ifndef SDLK_APOSTROPHE
#define SDLK_APOSTROPHE SDLK_QUOTE
#endif
#ifndef SDLK_GRAVE
#define SDLK_GRAVE SDLK_BACKQUOTE
#endif
// SDL Data
struct ImGui_ImplSDL3_Data
{