I have two windows, that can be moved to different displays also. At the moment using opengl renderer. I sometimes get a crash and not sure about the reason yet. What is the correct procedure to use two windows like this ? I am using app callbacks, vsync on and lock/unlock texture to redraw pixels to each window on each iteration.
I’m assuming SDL3 because you said callback, and on a desktop/laptop since you said multiple monitors. Try running your code in a debugger so you can look at the stack and see which function it crashes in