DXERROR err = WRONGMODE

BlitzMax Forums/BlitzMax Programming/DXERROR err = WRONGMODE

Anyone ever had this in V1.26? I'm getting this when I run my game in full-screen mode then I call some code to minimise it (works fine) then I click the game on the task bar and it goes full-screen again but the screen is black and I have to end task on it. That error appears in the output window when I'm running in Debug mode.

I'll see if I can make some small test code.

btw, Alt+Tab works, so does pressing the windows key.

Oh and it works if I use OpenGL.