SDL_CreateWindowFrom and GDI

Hello All

(SDL 2.0.12 and Windows 10)

I have a windows application that creates a HWND, then I pass that HWND to SDL via the SDL_CreateWindowFrom function. My app runs fine, rendering video to that window via SDL.

After I closedown SDL using SDL_DestroyWindow, my app needs to write to that HWND using regular gdi calls however nothing appears on that HWND. It seems like SDL locks that HWND and I cannot use it post SDL

Has anyone else seen this ? Any clues ?