Yeah, I just checked it, and the test code isn't reproducing the error after all.
However, the problem is real, and I'm sure that the error isn't in my code.
When you hit ESC in the game, it's just like in this demo. It simply calls END. You can be playing the game, hit ESC, and it freezes up for a little bit before going back to the desktop. And the issue doesn't present itself when running in OpenGL.
Maybe the problem is the images aren't being drawn to cause them to be cached. I'll try that.
However, the problem is real, and I'm sure that the error isn't in my code.
When you hit ESC in the game, it's just like in this demo. It simply calls END. You can be playing the game, hit ESC, and it freezes up for a little bit before going back to the desktop. And the issue doesn't present itself when running in OpenGL.
Maybe the problem is the images aren't being drawn to cause them to be cached. I'll try that.