I'm getting an error at display->BeginScene each time my app loses focus in the desktop version. I'm trying to write a lua debugger which should attach my pocketHAL game, but as I can't continue executing the game both stop, the game waiting for focus and the debugger waiting the game to reach the comms function.
Is there any workaround to this problem?
( I can't move the comms to the outer loop, as lua state changes should reflect on the game screen)
TIA
Kak