While working on PA2 keyboard section, I noticed that with SDL_VIDEODRIVER=wayland, the SDL window won't pop out when running am-test mainargs=k, making it impossible to continue.
As stated here: SDL docs, wayland requires that the application initially present a buffer before the window becomes visible. So simply render right after the window is created would do.
While working on PA2 keyboard section, I noticed that with SDL_VIDEODRIVER=wayland, the SDL window won't pop out when running am-test mainargs=k, making it impossible to continue. As stated here: SDL docs, wayland requires that the application initially present a buffer before the window becomes visible. So simply render right after the window is created would do.