mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-29 01:51:37 +00:00
Removed acquire/release of keymaps, which isn't needed internally.
This commit is contained in:
@@ -1185,7 +1185,7 @@ static void Wayland_UpdateKeymap(struct SDL_WaylandInput *input)
|
||||
keymap.state = WAYLAND_xkb_state_new(input->xkb.keymap);
|
||||
if (!keymap.state) {
|
||||
SDL_SetError("failed to create XKB state");
|
||||
SDL_ReleaseKeymap(keymap.keymap);
|
||||
SDL_DestroyKeymap(keymap.keymap);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user