-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SDL 3 support to all SDL backends
Improvements to both SDL 2 and SDL 3: - Keyboard is activated and deactivated when focusing text input fields. - Text input events are only submitted when text input fields are focused. SDL 3-specific improvements: - Enables positioning of the input method editor (IME) to the text cursor. SDL_GL2-specific improvements: - Use OpenGL directly instead of the SDL renderer, just like the SDL_GL3 renderer. - GLEW is no longer required, stop linking to it. By default, CMake will now first look for SDL 3, and only if that is not found, it will look for SDL 2. To override the automatic selection, set `RMLUI_SDL_VERSION_MAJOR` to the desired version (2 or 3). Here, an empty value means default (automatic) behavior.
- Loading branch information
Showing
11 changed files
with
811 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.