sdl: update window handle on mode change
authornotaz <notasas@gmail.com>
Mon, 12 May 2025 20:14:19 +0000 (23:14 +0300)
committernotaz <notasas@gmail.com>
Wed, 14 May 2025 21:06:41 +0000 (00:06 +0300)
commit2607df8ab277d022cc8b432c2cff40e506b5db82
treea84038943984a1af13b3109088d606c8d2d0dfec
parent528f252220a74939222e6904e7396c38d97f4ba1
sdl: update window handle on mode change

At least on sdl12-compat info.x11.window changes after calling
SDL_SetVideoMode() and gl init fails with the old one.
plat_sdl.c